diff options
author | Michael Snyder <msnyder@redhat.com> | 2008-08-01 20:42:25 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@redhat.com> | 2008-08-01 20:42:25 +0000 |
commit | 84727be194695038b2220724602a0582d9c81a6f (patch) | |
tree | 9fa96bc2f08febbcd09fcb92e4a8a0b87a8e1f01 | |
parent | ea1b2558e69d822ffe78c6e0dffc3814a88cf7b8 (diff) | |
download | gdb-84727be194695038b2220724602a0582d9c81a6f.tar.gz |
chael Snyder <msnyder@specifix.com>
* record.c (_initialize_record): Clarify language in help strings.
Fix up comment format (period must be followed by two spaces).
2008-08-01 Michael Snyder <msnyder@specifix.com>
* i386-tdep.c (i386_record_lea_modrm): Spelling fix.
:wq
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 8 | ||||
-rw-r--r-- | gdb/record.c | 45 |
3 files changed, 37 insertions, 25 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ae78a37846..085cb708b0e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2008-08-01 Michael Snyder <msnyder@specifix.com> + + * record.c (_initialize_record): Clarify language in help strings. + Fix up comment format (period must be followed by two spaces). + +2008-08-01 Michael Snyder <msnyder@specifix.com> + + * i386-tdep.c (i386_record_lea_modrm): Spelling fix. + 2008-07-29 Hui Zhu <teawater@gmail.com> Change record.c (record_list_release_next) just release "record_list". diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 467efaf3701..5d02068ba3c 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2814,7 +2814,7 @@ i386_record_lea_modrm (void) if (override) { printf_unfiltered (_ - ("Record: cann't get the value of the segment register in address 0x%s. Record ignore this change.\n"), + ("Record: can't get the value of the segment register in address 0x%s. Record ignore this change.\n"), paddr_nz (read_pc ())); return (0); } @@ -4138,7 +4138,7 @@ reswitch: addr &= 0xffff; /* addr += ((uint32_t)read_register (I386_ES_REGNUM)) << 4; */ printf_unfiltered (_ - ("Record: cann't get the value of the segment register.\n")); + ("Record: can't get the value of the segment register.\n")); return (-1); } @@ -4804,7 +4804,7 @@ reswitch: if (override) { printf_unfiltered (_ - ("Record: cann't get the value of the segment register in address 0x%s. Record ignore this change.\n"), + ("Record: can't get the value of the segment register in address 0x%s. Record ignore this change.\n"), paddr_nz (read_pc ())); } else @@ -4853,7 +4853,7 @@ reswitch: if (override) { printf_unfiltered (_ - ("Record: cann't get the value of the segment register in address 0x%s. Record ignore this change.\n"), + ("Record: can't get the value of the segment register in address 0x%s. Record ignore this change.\n"), paddr_nz (read_pc ())); } else diff --git a/gdb/record.c b/gdb/record.c index 452f6c567b7..bfd52aeb3a6 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -992,45 +992,48 @@ _initialize_record (void) add_target (&record_ops); add_setshow_zinteger_cmd ("record", no_class, &record_debug, - _("Set record debugging."), - _("Show record debugging."), - _ - ("When non-zero, record specific debugging is enabled."), + _("Set debugging of record/replay feature."), + _("Show debugging of record/replay feature."), + _("When enabled, debugging output for record/replay feature is displayed."), NULL, show_record_debug, &setdebuglist, &showdebuglist); add_com ("record", class_obscure, cmd_record_start, - _("Same with command \"target record\".")); + _("Abbreviated form of \"target record\" command.")); + add_com_alias ("rec", "record", class_obscure, 1); - /* XXX: I try to use some simple commands such as "disconnect" and "detach" - to support this functions. But these commands all have other affect to - GDB such as call function "no_shared_libraries". So I add special commands - to GDB. */ + /* XXX: I try to use some simple commands such as "disconnect" and + "detach" to support this functions. But these commands all have + other affect to GDB such as call function "no_shared_libraries". + So I add special commands to GDB. */ add_com ("delrecord", class_obscure, cmd_record_delete, - _ - ("When record target running in replay mode, delete the next running messages and begin to record the running message at current address.")); + _("When record target running in replay mode, delete the next running messages and begin to record the running message at current address.")); add_com_alias ("dr", "delrecord", class_obscure, 1); add_com ("stoprecord", class_obscure, cmd_record_stop, - _("Stop the record target.")); + _("Stop the record/replay target.")); add_com_alias ("sr", "stoprecord", class_obscure, 1); /* Record instructions number limit command. */ + /* Teawater -- tell me if I got this one wrong. MVS */ add_setshow_zinteger_cmd ("record-auto-delete", no_class, &record_insn_max_mode, - _("Set record auto delete mode."), - _("Show record auto delete mode."), - _ - ("When number of instructions that record target record is same with record-insn-max, if 0 will ask user howto do, if no 0 will auto delete the first record_t."), + _("Set record/replay auto delete mode."), + _("Show record/replay auto delete mode."), + _("\ +When enabled, if the record/replay buffer becomes full,\n\ +delete it and start new recording."), NULL, NULL, &setlist, &showlist); add_setshow_zinteger_cmd ("record-insn-number-max", no_class, &record_insn_max_num, - _("Set record instructions max number."), - _("Show record instructions max number."), - _ - ("The max instructions number that record target can record. When 0, record target will not limit it."), + _("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).", set_record_insn_max_num, NULL, &setlist, &showlist); add_info ("record-insn-number", show_record_insn_number, - _("Show the record instructions number.")); + _("\ +Show the current number of instructions in the record/replay buffer.")); } |