Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/gdbscripts document 'devs' and 'procs' commands.



details:   https://anonhg.NetBSD.org/src/rev/34ed7f72da47
branches:  trunk
changeset: 451187:34ed7f72da47
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu May 09 07:59:49 2019 +0000

description:
document 'devs' and 'procs' commands.

diffstat:

 sys/gdbscripts/devs  |  6 +++++-
 sys/gdbscripts/procs |  7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 7b0494480641 -r 34ed7f72da47 sys/gdbscripts/devs
--- a/sys/gdbscripts/devs       Thu May 09 07:38:44 2019 +0000
+++ b/sys/gdbscripts/devs       Thu May 09 07:59:49 2019 +0000
@@ -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 @@
                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 -r 7b0494480641 -r 34ed7f72da47 sys/gdbscripts/procs
--- a/sys/gdbscripts/procs      Thu May 09 07:38:44 2019 +0000
+++ b/sys/gdbscripts/procs      Thu May 09 07:59:49 2019 +0000
@@ -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 @@
                set $i++
        end
 end
+document procs
+list all processes.
+displays struct proc *, pid, flags, status, nlwps, first lwp addr
+and command name.
+end



Home | Main Index | Thread Index | Old Index