diff options
| author | mrg <mrg@NetBSD.org> | 2019-05-09 07:59:49 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-05-09 07:59:49 +0000 |
| commit | ff47f8589ed262f72080cb7f85733d228490c985 (patch) | |
| tree | fdf6f0ef515ea08014e374581b2bb47b9df2d1bc /sys/gdbscripts | |
| parent | a5f54d8de7851f3d69c7b17afe6c6dbc9b58b028 (diff) | |
document 'devs' and 'procs' commands.
Diffstat (limited to 'sys/gdbscripts')
| -rw-r--r-- | sys/gdbscripts/devs | 6 | ||||
| -rw-r--r-- | sys/gdbscripts/procs | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/gdbscripts/devs b/sys/gdbscripts/devs index e818f074e0c..fa17d895080 100644 --- a/sys/gdbscripts/devs +++ b/sys/gdbscripts/devs @@ -1,4 +1,4 @@ -# $NetBSD: devs,v 1.1 2019/05/06 02:41:02 mrg Exp $ +# $NetBSD: devs,v 1.2 2019/05/09 07:59:49 mrg Exp $ define devs set $i = 0 @@ -18,3 +18,7 @@ define devs set $i++ end end +document devs +dump a list of all devices known on the system with their name, +and these pointers: this device, parent device, device private. +end diff --git a/sys/gdbscripts/procs b/sys/gdbscripts/procs index 8b3050a941c..a4891bf4400 100644 --- a/sys/gdbscripts/procs +++ b/sys/gdbscripts/procs @@ -1,4 +1,4 @@ -# $NetBSD: procs,v 1.3 2019/05/06 02:41:02 mrg Exp $ +# $NetBSD: procs,v 1.4 2019/05/09 07:59:49 mrg Exp $ define procs set $i = 0 @@ -20,3 +20,8 @@ define procs set $i++ end end +document procs +list all processes. +displays struct proc *, pid, flags, status, nlwps, first lwp addr +and command name. +end |
