From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5170 invoked by alias); 1 Jul 2010 14:22:55 -0000 Received: (qmail 5022 invoked by uid 22791); 1 Jul 2010 14:22:54 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Jul 2010 14:22:48 +0000 Received: (qmail 29089 invoked from network); 1 Jul 2010 14:22:47 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Jul 2010 14:22:47 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, Eli Zaretskii Subject: clarify "help break" output a bit (Re: Static tracepoints support) Date: Thu, 01 Jul 2010 14:22:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.31-10-rt; KDE/4.4.2; x86_64; ; ) References: <201006251931.57860.pedro@codesourcery.com> <201006292159.49527.pedro@codesourcery.com> <8339w4bd3q.fsf@gnu.org> In-Reply-To: <8339w4bd3q.fsf@gnu.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007011522.45001.pedro@codesourcery.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: 2010-07/txt/msg00006.txt.bz2 On Wednesday 30 June 2010 19:16:09, Eli Zaretskii wrote: > > > But only if the conditionals are different. > > > > > > Anyway, it confused me, so perhaps it's a good idea to clarify. > > > > Okay, I agree, though I'd prefer to do that as a follow up, where I > > change both the break- and tracepoint command's help output at once. > > Is that okay with you? > > Yes. Thanks. Here's a patch. Okay? -- Pedro Alves 2010-07-01 Pedro Alves * breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify usefulness suggestion of multiple breakpoints at same location. --- gdb/breakpoint.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Index: src/gdb/breakpoint.c =================================================================== --- src.orig/gdb/breakpoint.c 2010-07-01 15:16:13.000000000 +0100 +++ src/gdb/breakpoint.c 2010-07-01 15:17:29.000000000 +0100 @@ -11502,7 +11502,8 @@ stack frame. This is useful for breakin THREADNUM is the number from \"info threads\".\n\ CONDITION is a boolean expression.\n\ \n\ -Multiple breakpoints at one place are permitted, and useful if conditional.\n\ +Multiple breakpoints at one place are permitted, and useful if their\n\ +conditions are different.\n\ \n\ Do \"help breakpoints\" for info on other commands dealing with breakpoints." @@ -11956,7 +11957,8 @@ by printing the $_sdata variable like an \n\ CONDITION is a boolean expression.\n\ \n\ -Multiple tracepoints at one place are permitted, and useful if conditional.\n\ +Multiple tracepoints at one place are permitted, and useful if their\n\ +conditions are different.\n\ \n\ Do \"help breakpoints\" for info on other commands dealing with breakpoints.\n\ Do \"help tracepoints\" for info on other tracepoint commands."));