diff options
| author | skrll <skrll@NetBSD.org> | 2019-07-17 09:14:24 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2019-07-17 09:14:24 +0000 |
| commit | 84beffc17e4e527bf1f6aa101305a09a6bdc48cf (patch) | |
| tree | 01c0817b8eb9322111ed6090d030d2e17a7d344f /sys/gdbscripts | |
| parent | 37e9f6f07711f21644f6b1664e2b674b5aa613ca (diff) | |
Remove the 'procs' from lwps and use the one from procs.
OK mrg@
Diffstat (limited to 'sys/gdbscripts')
| -rw-r--r-- | sys/gdbscripts/lwps | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/gdbscripts/lwps b/sys/gdbscripts/lwps index 806aa0f0393..4c5e7875a42 100644 --- a/sys/gdbscripts/lwps +++ b/sys/gdbscripts/lwps @@ -1,4 +1,4 @@ -# $NetBSD: lwps,v 1.5 2019/05/30 07:17:35 mrg Exp $ +# $NetBSD: lwps,v 1.6 2019/07/17 09:14:24 skrll Exp $ define lwps set $i = 0 @@ -34,22 +34,6 @@ document lwps ps for lwps end -define procs - set $p = allproc.lh_first - - printf " paddr pid flag stat n firstlwp command\n" - while ($p) - printf "%16lx %5d %8x %4x %5d %16lx %16s\n", \ - $p, $p->p_pid, $p->p_flag, $p->p_stat, \ - $nlwps, $p->p_lwps.lh_first, \ - (char *) $p->p_comm - set $p = $p->p_list.le_next - end -end -document procs -Show one line summary of all processes (ps) -end - define threadinfo set $l = (struct lwp *)$arg0 set $pid = $arg1 |
