Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/gdbscripts Remove the 'procs' from lwps and use the one ...
details: https://anonhg.NetBSD.org/src/rev/f7a2679aa2ed
branches: trunk
changeset: 461923:f7a2679aa2ed
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jul 17 09:14:24 2019 +0000
description:
Remove the 'procs' from lwps and use the one from procs.
OK mrg@
diffstat:
sys/gdbscripts/lwps | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
diffs (32 lines):
diff -r fa1d72a9a17c -r f7a2679aa2ed sys/gdbscripts/lwps
--- a/sys/gdbscripts/lwps Wed Jul 17 09:10:28 2019 +0000
+++ b/sys/gdbscripts/lwps Wed Jul 17 09:14:24 2019 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index