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

Alexandru Sutii
2011-03-29T21:59:34Z

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
>