Thread-specific breakpoints

Eli Zaretskii eliz@gnu.org
Mon Aug 16 19:30:00 GMT 2004


> Date: Mon, 16 Aug 2004 16:20:39 +0200
> From: Fabian Cenedese <Cenedese@indel.ch>
> >
> >The closest GDB comes is "break <location> thread <number>".
> 
> Yes, that's along the lines I was thinking. And after intense looking I even
> found it in the manual. I missed it the first time as the break command
> is explained in 5.1.1 whereas break <location> thread <number> by itself
> is in 5.4.

The `i' (Info-index) command is your friend.  In an Info browser, type
"i thread<TAB>" and you will be presented with a list of
thread-related index entries that are recorded in the manual.  Through
sheer luck (or maybe something else ;-), the very first entry is
exactly what you wanted.



More information about the Gdb mailing list