This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Non-stop multi-threaded debugging
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sourceware dot org
- Date: Wed, 05 Dec 2007 14:41:15 +0100
- Subject: Re: Non-stop multi-threaded debugging
- References: <1196455712.6746.160.camel@localhost.localdomain> <4743178A.3050501@codesourcery.com> <1196455712.6746.160.camel@localhost.localdomain>
> - 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