From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11919 invoked by alias); 8 Mar 2012 16:51:39 -0000 Received: (qmail 11908 invoked by uid 22791); 8 Mar 2012 16:51:37 -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 rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Mar 2012 16:51:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C865E1C68F3; Thu, 8 Mar 2012 11:51:22 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id piKojZdAXlzx; Thu, 8 Mar 2012 11:51:22 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8CB0F1C68F1; Thu, 8 Mar 2012 11:51:22 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 8EF45145615; Thu, 8 Mar 2012 08:51:15 -0800 (PST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [commit] Fix thinko in help of "set breakpoint condition-evaluation". Date: Thu, 08 Mar 2012 16:51:00 -0000 Message-Id: <1331225474-4760-1-git-send-email-brobecker@adacore.com> 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: 2012-03/txt/msg00275.txt.bz2 FYI, I checked in the following patch. The 3 valid values for this setting are "auto", "host" and "target". The help was advertising one of them to be "gdb" instead of "host". gdb/ChangeLog: * breakpoint.c (_initialize_breakpoint): Fix error in help of "set breakpoint condition-evaluation" command. Tested by rebuilding GDB on x86_64-linux. --- gdb/ChangeLog | 5 +++++ gdb/breakpoint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0964c5f..ad99b61 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-08 Joel Brobecker + + * breakpoint.c (_initialize_breakpoint): Fix error in help of + "set breakpoint condition-evaluation" command. + 2012-03-08 Tristan Gingold * sparc-stub.c: Move to stubs/ diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5388a4e..1158f0e 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -15517,7 +15517,7 @@ inferior in all-stop mode, gdb behaves as if always-inserted mode is off."), &condition_evaluation_mode_1, _("\ Set mode of breakpoint condition evaluation."), _("\ Show mode of breakpoint condition evaluation."), _("\ -When this is set to \"gdb\", breakpoint conditions will be\n\ +When this is set to \"host\", breakpoint conditions will be\n\ evaluated on the host's side by GDB. When it is set to \"target\",\n\ breakpoint conditions will be downloaded to the target (if the target\n\ supports such feature) and conditions will be evaluated on the target's side.\n\ -- 1.7.1