From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7830 invoked by alias); 4 Oct 2013 17:54:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7820 invoked by uid 89); 4 Oct 2013 17:54:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f170.google.com Received: from mail-wi0-f170.google.com (HELO mail-wi0-f170.google.com) (209.85.212.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Oct 2013 17:54:52 +0000 Received: by mail-wi0-f170.google.com with SMTP id cb5so2708144wib.5 for ; Fri, 04 Oct 2013 10:54:49 -0700 (PDT) X-Received: by 10.194.123.227 with SMTP id md3mr13388575wjb.17.1380909289480; Fri, 04 Oct 2013 10:54:49 -0700 (PDT) Received: from [192.168.0.105] ([2.83.160.60]) by mx.google.com with ESMTPSA id c13sm12123840wib.5.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 04 Oct 2013 10:54:48 -0700 (PDT) Message-ID: <524F00E6.9010104@gmail.com> Date: Fri, 04 Oct 2013 17:54:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Eli Zaretskii CC: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH] [DOC] Mention what happens when the thread of a thread-specific breakpoint is gone. References: <1380898896-16767-1-git-send-email-palves@redhat.com> <83y569apvb.fsf@gnu.org> In-Reply-To: <83y569apvb.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00149.txt.bz2 On 10/04/2013 06:48 PM, Eli Zaretskii wrote: >> From: Pedro Alves >> 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