From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30168 invoked by alias); 9 Apr 2009 17:40:56 -0000 Received: (qmail 30152 invoked by uid 22791); 9 Apr 2009 17:40:54 -0000 X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_00,BOTNET,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout1.012.net.il (HELO mtaout1.012.net.il) (84.95.2.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Apr 2009 17:40:47 +0000 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KHU00A00GUNGO00@i-mtaout1.012.net.il> for gdb-patches@sourceware.org; Thu, 09 Apr 2009 20:40:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.70.19]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KHU002NXH2U2X60@i-mtaout1.012.net.il>; Thu, 09 Apr 2009 20:40:07 +0300 (IDT) Date: Thu, 09 Apr 2009 17:40:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/doco] Document task-specific breakpoints In-reply-to: <20090409173304.GK7535@adacore.com> To: Joel Brobecker Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <833ach4tj2.fsf@gnu.org> References: <20090325214556.GD9472@adacore.com> <20090325220236.GF9472@adacore.com> <20090326223902.GL9472@adacore.com> <20090409165926.GJ7535@adacore.com> <8363hd4uhq.fsf@gnu.org> <20090409173304.GK7535@adacore.com> X-IsSubscribed: yes 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 X-SW-Source: 2009-04/txt/msg00184.txt.bz2 > Date: Thu, 9 Apr 2009 10:33:04 -0700 > From: Joel Brobecker > Cc: tromey@redhat.com, gdb-patches@sourceware.org > > > @xref{Thread-Specific Breakpoints}, for more about this. For > > Ada-specific aspects, see @ref{Ada Tasks}. > > I agree with what you are saying, except that I think that the actual > suggestion does not flow well with the way the paragraph is written. > Currently, we have: > > It is also possible to insert a breakpoint that will stop the program > only if a specific thread or a specific task hits that breakpoint. > @xref{Thread-Specific Breakpoints} and @ref{Ada Tasks} for more > information about this feature. > > Basically, we say: thread-specific breakpoint, or task-specific > breakpoint. Then xref thread-specific. Then xref task-specific. In that case, how about It is also possible to insert a breakpoint that will stop the program only if a specific thread or a specific task hits that breakpoint. @xref{Thread-Specific Breakpoints}, for more information about thread-specific breakpoints; see @ref{Ada Tasks}, for more information about task-specific breakpoints. or It is also possible to insert a breakpoint that will stop the program only if a specific thread (@pxref{Thread-Specific Breakpoints}) or a specific task (@pxref{Ada Tasks}) hits that breakpoint. > So I propose the following in the end: > > It is also possible to insert a breakpoint that will stop the program > only if a specific thread or a specific task hits that breakpoint. > @xref{Thread-Specific Breakpoints}, and @ref{Ada Tasks}, for more > information about this feature. That's also OK.