diff options
| author | riz <riz@NetBSD.org> | 2013-11-23 16:15:24 +0000 |
|---|---|---|
| committer | riz <riz@NetBSD.org> | 2013-11-23 16:15:24 +0000 |
| commit | a9682e7cda143b1c6d07ea78766e75739b48130d (patch) | |
| tree | e973e33cb922261cedf94e4c084b5353f816db9e /sys/gdbscripts | |
| parent | 718acb41641b36cef72cce715cdff24e81d7841f (diff) | |
Since mountlist is now a TAILQ, convert some missed usages
so things build again.
Diffstat (limited to 'sys/gdbscripts')
| -rw-r--r-- | sys/gdbscripts/vchain | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/gdbscripts/vchain b/sys/gdbscripts/vchain index c262c92296f..0596b21294c 100644 --- a/sys/gdbscripts/vchain +++ b/sys/gdbscripts/vchain @@ -1,4 +1,4 @@ -# $NetBSD: vchain,v 1.6 2009/11/18 18:04:26 eeh Exp $ +# $NetBSD: vchain,v 1.7 2013/11/23 16:15:25 riz Exp $ # @(#)vchain 8.1 (Berkeley) 6/10/93 # @@ -35,11 +35,11 @@ print the vnode chain for a given mount point end define vall - set $mp=mountlist.cqh_first + set $mp=mountlist.tqh_first while ($mp) printf "\tmount point at 0x%x\n", $mp mp_vchain $mp - set $mp=$mp->mnt_list.cqe_next + set $mp=$mp->mnt_list.tqe_next # "break" if ((const void *)$mp == (const void *)&mountlist) @@ -52,14 +52,14 @@ print vnode chains for all mount points end define mountdump - set $mp=mountlist.cqh_first + set $mp=mountlist.tqh_first while ($mp) printf "%s on %s type %s, (mp 0x%x, privdata 0x%x)\n", \ $mp->mnt_stat->f_mntfromname, $mp->mnt_stat->f_mntonname, \ $mp->mnt_op->vfs_name, $mp, $mp->mnt_data - set $mp=$mp->mnt_list.cqe_next + set $mp=$mp->mnt_list.tqe_next if ((const void *)$mp == (const void *)&mountlist) set $mp = 0 end end -end
\ No newline at end of file +end |
