This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Thread-specific breakpoints
> 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.