This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Fwd: TARGET_WAITKIND_THREAD_[CREATION || DELETION]]




I want to add two new entries to the list of reasons why
target_wait may return (ie. why the target may have stopped).
	THREAD_CREATION, and
	THREAD_DELETION.

These will allow GDB to perform any housekeeping it needs
to do to manage threads.  For instance, GDB may want to 
remove a step_resume breakpoint that was in use by the 
thread that has exited.  If used, these stops will also
insure that GDB's thread list is always up to date.
Of course, their use is optional, and if a target does not
use them, GDB will work no worse than it does today.
For instance GDB can still find out about new threads
"just in time" when the user asks for "info threads".

Comments?





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]