From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21329 invoked by alias); 9 Apr 2009 17:19:33 -0000 Received: (qmail 21312 invoked by uid 22791); 9 Apr 2009 17:19:32 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Apr 2009 17:19:23 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KHU00900FJSWP00@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Thu, 09 Apr 2009 20:19:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.70.19]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KHU0088AG46WQN0@i_mtaout2.012.net.il>; Thu, 09 Apr 2009 20:19:19 +0300 (IDT) Date: Thu, 09 Apr 2009 17:19:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/doco] Document task-specific breakpoints In-reply-to: <20090409165926.GJ7535@adacore.com> To: Joel Brobecker Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <8363hd4uhq.fsf@gnu.org> References: <20090325214556.GD9472@adacore.com> <20090325220236.GF9472@adacore.com> <20090326223902.GL9472@adacore.com> <20090409165926.GJ7535@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/msg00182.txt.bz2 > Date: Thu, 9 Apr 2009 09:59:26 -0700 > From: Joel Brobecker > Cc: Eli Zaretskii , gdb-patches@sourceware.org > > > Joel> +It is also possible to insert a breakpoint that will stop the program > > Joel> +only if a specific thread or a specific task hits that breakpoint. > > Joel> +@xref{Thread-Specific Breakpoints} and @ref{Ada Tasks} for more > > > > ../../../archer/gdb/doc/gdb.texinfo:3057: warning: `.' or `,' must follow @xref, not `a'. > > Umpf :-(, sorry about that. Is it OK if I add a coma after the xref. Yes, that's the canonical way of handling this. Note that @ref also needs a comma after its argument. > See Thread-Specific Breakpoints, and Ada Tasks for more [...] > > I would have prefered the current version, though. Right, but this is a limitation of Texinfo. > Perhaps we need to change the way we wrote the references? In general, it is not a very good idea to have several cross-references to close in the same sentence. Something like the following might be better: @xref{Thread-Specific Breakpoints}, for more about this. For Ada-specific aspects, see @ref{Ada Tasks}.