Non-stop multi-threaded debugging
Nick Roberts
nickrob@snap.net.nz
Thu Nov 29 02:08:00 GMT 2007
> ... 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
More information about the Gdb
mailing list