aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-05-01 17:57:31 +0000
committerEli Zaretskii <eliz@gnu.org>2009-05-01 17:57:31 +0000
commit299a410e8db4544df745d1d1037d4df0256a1835 (patch)
tree45027b0ba31baba5a5b71e70daf459856f376d7e /gdb
parent699275c920a6ee5e4bcf0160283cb9d5cc2e4f8f (diff)
downloadgdb-299a410e8db4544df745d1d1037d4df0256a1835.zip
gdb-299a410e8db4544df745d1d1037d4df0256a1835.tar.gz
gdb-299a410e8db4544df745d1d1037d4df0256a1835.tar.bz2
* record.c (_initialize_record): Reformat and clarify doc strings
for stop-at-limit and insn-number-max.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/record.c27
2 files changed, 13 insertions, 17 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 996e479..8f284ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2009-05-01 Eli Zaretskii <eliz@gnu.org>
+ * record.c (_initialize_record): Reformat and clarify doc strings
+ for stop-at-limit and insn-number-max.
+
* go32-nat.c: Add comments about dirty secrets of DJGPP debugging.
2009-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
diff --git a/gdb/record.c b/gdb/record.c
index 498e6fc..40cc174 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -1259,28 +1259,21 @@ _initialize_record (void)
/* Record instructions number limit command. */
add_setshow_boolean_cmd ("stop-at-limit", no_class,
- &record_stop_at_limit,
- _("Set whether record/replay stop when "
- "record/replay buffer becomes full."),
- _("Show whether record/replay stop when "
- "record/replay buffer becomes full."),
- _("Enable is default value.\n"
- "When enabled, if the record/replay buffer "
- "becomes full,\n"
- "ask user what to do.\n"
- "When disabled, if the record/replay buffer "
- "becomes full,\n"
- "delete it and start new recording."),
+ &record_stop_at_limit, _("\
+Set whether record/replay stops when record/replay buffer becomes full."), _("\
+Show whether record/replay stops when record/replay buffer becomes full."), _("\
+Default is ON.\n\
+When ON, if the record/replay buffer becomes full, ask user what to do.\n\
+When OFF, if the record/replay buffer becomes full,\n\
+delete the oldest recorded instruction to make room for each new one."),
NULL, NULL,
&set_record_cmdlist, &show_record_cmdlist);
add_setshow_zinteger_cmd ("insn-number-max", no_class,
&record_insn_max_num,
_("Set record/replay buffer limit."),
- _("Show record/replay buffer limit."),
- _("Set the maximum number of instructions to be "
- "stored in the\n"
- "record/replay buffer. "
- "Zero means unlimited (default 200000)."),
+ _("Show record/replay buffer limit."), _("\
+Set the maximum number of instructions to be stored in the\n\
+record/replay buffer. Zero means unlimited. Default is 200000."),
set_record_insn_max_num,
NULL, &set_record_cmdlist, &show_record_cmdlist);
add_cmd ("insn-number", class_obscure, show_record_insn_number,