Home | History | Annotate | Line # | Download | only in gdbscripts
vdump revision 1.1
      1 #	@(#)vdump	8.1 (Berkeley) 6/10/93
      2 #
      3 # dump the vnode list
      4 
      5 define dumpvnodes
      6 
      7 	set $vp = (struct vnode *)$arg0
      8 	while ($vp)
      9 		printf "vnode=0x%x freef=0x%x mountf=0x%x usecount=%d\n", $vp, $vp->v_freef, $vp->v_mountf, $vp->v_usecount
     10 		set $vp = (struct vnode *)$vp->v_freef
     11 	end
     12 end
     13