This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Fix thinko in help of "set breakpoint condition-evaluation".


Thanks! I changed this a few times and ended up missing a few spots in the last update.

Luis
On 03/08/2012 01:51 PM, Joel Brobecker wrote:
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<brobecker@adacore.com>
+
+	* breakpoint.c (_initialize_breakpoint): Fix error in help of
+	"set breakpoint condition-evaluation" command.
+
  2012-03-08  Tristan Gingold<gingold@adacore.com>

  	* 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\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]