Subject: CVS commit: src/gnu/dist/gdb/gdb
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 10/12/2004 22:16:34
Module Name:	src
Committed By:	mycroft
Date:		Tue Oct 12 22:16:34 UTC 2004

Modified Files:
	src/gnu/dist/gdb/gdb: nbsd-thread.c

Log Message:
Two changes for better handling of blocked threads with LWPs:
1) When looking up the active thread, do not convert it to a thread ID; use the
   LWP ID instead.  This causes us to go through the ptrace(2) interface to
   modify registers -- using the kernel state -- rather than through the
   thread library.
2) Do not add blocked threads to the thread list.  These are represented by
   LWPs and will be seen that way instead.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/gnu/dist/gdb/gdb/nbsd-thread.c

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