Non-stop multi-threaded debugging

Fabian Cenedese Cenedese@indel.ch
Wed Dec 5 13:41:00 GMT 2007


>   - Selecting any thread shall cause that thread to stop.

Does gdb always have to have a selected thread? I'm wondering how
I could watch a global variable while all threads are running. So either
gdb can inspect variables without thread or selecting a thread shouldn't
stop it.

>    - When a thread encounters a breakpoint or a fault, GDB shall stop
>      only that thread.  Any other running threads shall continue to
>      execute.

I assume this is for both global and thread breakpoints.

Thanks

bye  Fabi




More information about the Gdb mailing list