Module Name:    src
Committed By:   skrll
Date:           Tue Jul 28 10:38:20 UTC 2009

Modified Files:
        src/sys/gdbscripts: lwps

Log Message:
Use the right pointer to traverse the proc's lwp list.

>From PR 41788.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/gdbscripts/lwps

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/gdbscripts/lwps
diff -u src/sys/gdbscripts/lwps:1.1 src/sys/gdbscripts/lwps:1.2
--- src/sys/gdbscripts/lwps:1.1	Wed Feb 20 20:56:35 2008
+++ src/sys/gdbscripts/lwps	Tue Jul 28 10:38:20 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: lwps,v 1.1 2008/02/20 20:56:35 ad Exp $
+#	$NetBSD: lwps,v 1.2 2009/07/28 10:38:20 skrll Exp $
 
 define lwps
 	set $i = 0
@@ -19,7 +19,7 @@
 				if ($l->l_wmesg)
 					printf " (%s)", (char *)$l->l_wmesg
 				end
-				set $l = $l->l_list.le_next
+				set $l = $l->l_sibling.le_next
 				printf "\n"
 				set $j++
 			end

Reply via email to