This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [DOC] Mention what happens when the thread of a thread-specific breakpoint is gone.


On 10/04/2013 06:48 PM, Eli Zaretskii wrote:
>> From: Pedro Alves <palves@redhat.com>
>> Date: Fri,  4 Oct 2013 16:01:36 +0100
>>
>> We recently made GDB auto-delete thread-specific breakpoints when the
>> corresponding thread is gone, but we haven't mentioned it in the manual.
>>
>> OK?
> 
> Yes, thanks.  One nit, though:
> 
>> +Thread-specific breakpoints are automatically deleted when
>> +@value{GDBN} detects the corresponding thread is gone.
>                                           ^^^^^^^^^^^^^^
> I'd say "thread exits" instead.

That was on purpose.  It's what GDB says too.  That's because
there are other ways for a thread to disappear other than
a regular thread exit, such as "detach", "disconnect"
or gdb losing the remote connection, etc.  The thread hasn't
really exited in those cases.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]