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

Alexandru Sutii sutii.alex@gmail.com
Tue Mar 29 21:59:00 GMT 2011


Hello, Tom!

Thanks a lot for your answer. With target-async on I have managed to
step the processes even when one of them blocks.

Thank you.
-- Alex.

On Tue, Mar 29, 2011 at 6:04 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "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.
>
> Tom
>



More information about the Gdb mailing list