How to switch threads in gdb while a thread is being blocked

chris.hall.list@highwayman.com chris.hall.list@highwayman.com
Wed Mar 30 00:03:00 GMT 2011


Tom Tromey wrote (on Tue 29-Mar-2011 at 16:05):
....
> >>>>> "Alexandru" == Alexandru Sutii <sutii.alex@gmail.com> writes:
> 
> Alexandru> Is there a way to switch threads in gdb after the current
> Alexandru> thread/process blocks?
> 
> You want target-async.  See the "Background Execution" node in the
> manual; there are corresponding MI commands (and docs) too.  You may
> also want non-stop.

Though my experience with non-stop is that it crashes and burns when
you single step through the end of some functions :-(

Chris



More information about the Gdb mailing list