This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Non-stop multi-threaded debugging
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Pawel Piech <pawel dot piech at windriver dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 29 Nov 2007 15:07:47 +1300
- Subject: Re: Non-stop multi-threaded debugging
- References: <474CFA34.1030309@windriver.com>
> ... A -thread-select on an
> ID of a process followed by an -exec-continue would resume an entire
> process, while a -thread-select of a thread's ID followed by a continue
> would resume only that thread. This could also be applied to all other
> commands that need to operate on a process, such as -thread-list-ids,
> -break-insert, etc.
This would change the current behaviour of these commands. If a new command
is undesirable then perhaps optional parameters could be used:
-exec-continue [ -p THREAD-ID/PROCESS-ID ]
-exec-interrupt [ -p THREAD-ID/PROCESS-ID ]
It appears that -break-insert already has such an option for threads.
--
Nick http://www.inet.net.nz/~nickrob