summaryrefslogtreecommitdiff
path: root/sys/gdbscripts
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-12-06 01:01:02 +0000
committermrg <mrg@NetBSD.org>2019-12-06 01:01:02 +0000
commit027dec59205835138af7c9f0885cdcc3e5d9d1fb (patch)
tree3d545e6b33e5f4319d5f3ee47a00524b2b1710f0 /sys/gdbscripts
parent4bfc226d6af65517451afc199ff501c5fc70b89e (diff)
it's mountlist not mount_list. now 'mountdump' works again.
Diffstat (limited to 'sys/gdbscripts')
-rw-r--r--sys/gdbscripts/vchain6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/gdbscripts/vchain b/sys/gdbscripts/vchain
index f3a6fdc7ead..3bf312047d9 100644
--- a/sys/gdbscripts/vchain
+++ b/sys/gdbscripts/vchain
@@ -1,4 +1,4 @@
-# $NetBSD: vchain,v 1.9 2017/04/13 09:52:18 hannken Exp $
+# $NetBSD: vchain,v 1.10 2019/12/06 01:01:02 mrg Exp $
# @(#)vchain 8.1 (Berkeley) 6/10/93
#
@@ -53,7 +53,7 @@ print vnode chains for all mount points
end
define mountdump
- set $me=mount_list.tqh_first
+ set $me=mountlist.tqh_first
while ($me)
if ($me->me_type == ME_MOUNT)
set $mp = $me->me_mount
@@ -63,7 +63,7 @@ define mountdump
$mp->mnt_op->vfs_name, $mp, $mp->mnt_data
end
set $me=$me->me_list.tqe_next
- if ((const void *)$me == (const void *)&mount_list)
+ if ((const void *)$me == (const void *)&mountlist)
set $me = 0
end
end