This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: How to switch threads in gdb while a thread is being blocked
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