mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
2009-09-07 Michael Snyder <msnyder@vmware.com>
* record.c: Minor comment and white space fix-ups.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-09-07 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* record.c: Minor comment and white space fix-ups.
|
||||||
|
|
||||||
2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* m68k-tdep.c (m68k_gdbarch_init): Allocate TDEP as cleared.
|
* m68k-tdep.c (m68k_gdbarch_init): Allocate TDEP as cleared.
|
||||||
|
22
gdb/record.c
22
gdb/record.c
@ -32,14 +32,16 @@
|
|||||||
#define RECORD_IS_REPLAY \
|
#define RECORD_IS_REPLAY \
|
||||||
(record_list->next || execution_direction == EXEC_REVERSE)
|
(record_list->next || execution_direction == EXEC_REVERSE)
|
||||||
|
|
||||||
/* These are the core struct of record function.
|
/* These are the core structs of the process record functionality.
|
||||||
|
|
||||||
An record_entry is a record of the value change of a register
|
A record_entry is a record of the value change of a register
|
||||||
("record_reg") or a part of memory ("record_mem"). And each
|
("record_reg") or a part of memory ("record_mem"). And each
|
||||||
instruction must has a struct record_entry ("record_end") that points out this
|
instruction must have a struct record_entry ("record_end") that
|
||||||
is the last struct record_entry of this instruction.
|
indicates that this is the last struct record_entry of this
|
||||||
|
instruction.
|
||||||
|
|
||||||
Each struct record_entry is linked to "record_list" by "prev" and "next". */
|
Each struct record_entry is linked to "record_list" by "prev" and
|
||||||
|
"next" pointers. */
|
||||||
|
|
||||||
struct record_reg_entry
|
struct record_reg_entry
|
||||||
{
|
{
|
||||||
@ -1288,15 +1290,15 @@ _initialize_record (void)
|
|||||||
|
|
||||||
/* Record instructions number limit command. */
|
/* Record instructions number limit command. */
|
||||||
add_setshow_boolean_cmd ("stop-at-limit", no_class,
|
add_setshow_boolean_cmd ("stop-at-limit", no_class,
|
||||||
&record_stop_at_limit, _("\
|
&record_stop_at_limit, _("\
|
||||||
Set whether record/replay stops when record/replay buffer becomes full."), _("\
|
Set whether record/replay stops when record/replay buffer becomes full."), _("\
|
||||||
Show 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\
|
Default is ON.\n\
|
||||||
When ON, if the record/replay buffer becomes full, ask user what to do.\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\
|
When OFF, if the record/replay buffer becomes full,\n\
|
||||||
delete the oldest recorded instruction to make room for each new one."),
|
delete the oldest recorded instruction to make room for each new one."),
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
&set_record_cmdlist, &show_record_cmdlist);
|
&set_record_cmdlist, &show_record_cmdlist);
|
||||||
add_setshow_zinteger_cmd ("insn-number-max", no_class,
|
add_setshow_zinteger_cmd ("insn-number-max", no_class,
|
||||||
&record_insn_max_num,
|
&record_insn_max_num,
|
||||||
_("Set record/replay buffer limit."),
|
_("Set record/replay buffer limit."),
|
||||||
@ -1306,6 +1308,6 @@ record/replay buffer. Zero means unlimited. Default is 200000."),
|
|||||||
set_record_insn_max_num,
|
set_record_insn_max_num,
|
||||||
NULL, &set_record_cmdlist, &show_record_cmdlist);
|
NULL, &set_record_cmdlist, &show_record_cmdlist);
|
||||||
add_cmd ("insn-number", class_obscure, show_record_insn_number,
|
add_cmd ("insn-number", class_obscure, show_record_insn_number,
|
||||||
_("Show the current number of instructions in the "
|
_("Show the current number of instructions in the "
|
||||||
"record/replay buffer."), &info_record_cmdlist);
|
"record/replay buffer."), &info_record_cmdlist);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user