Subject: CVS commit: src/gnu/dist/gdb/gdb
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 08/16/2005 22:07:12
Module Name:	src
Committed By:	nathanw
Date:		Tue Aug 16 22:07:12 UTC 2005

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

Log Message:
nbsd_thread_resume(): make sure that we've been passed a thread ID in
ptid before invoking the suspend-all-but-this-thread logic. Otherwise,
when passed an LWP (as a result of 1.15 making LWPs the primary
identifier of live execution contexts), we try to suspend everything,
which goes poorly.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 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.