mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
Use "bool" in tui_data_window::show_register_group
This changes tui_data_window::show_register_group to use "bool" rather than "int". gdb/ChangeLog 2019-09-20 Tom Tromey <tom@tromey.com> * tui/tui-regs.h (struct tui_data_window) <show_register_group>: Change type of "refresh_values_only". * tui/tui-regs.c (tui_data_window::show_register_group): Change type of "refresh_values_only".
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2019-09-20 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* tui/tui-regs.h (struct tui_data_window) <show_register_group>:
|
||||||
|
Change type of "refresh_values_only".
|
||||||
|
* tui/tui-regs.c (tui_data_window::show_register_group): Change
|
||||||
|
type of "refresh_values_only".
|
||||||
|
|
||||||
2019-09-20 Tom Tromey <tom@tromey.com>
|
2019-09-20 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* tui/tui-disasm.c (struct tui_asm_line) <addr_string, insn>: Now
|
* tui/tui-disasm.c (struct tui_asm_line) <addr_string, insn>: Now
|
||||||
|
@ -166,12 +166,12 @@ tui_data_window::show_registers (struct reggroup *group)
|
|||||||
|
|
||||||
/* Set the data window to display the registers of the register group
|
/* Set the data window to display the registers of the register group
|
||||||
using the given frame. Values are refreshed only when
|
using the given frame. Values are refreshed only when
|
||||||
refresh_values_only is TRUE. */
|
refresh_values_only is true. */
|
||||||
|
|
||||||
void
|
void
|
||||||
tui_data_window::show_register_group (struct reggroup *group,
|
tui_data_window::show_register_group (struct reggroup *group,
|
||||||
struct frame_info *frame,
|
struct frame_info *frame,
|
||||||
int refresh_values_only)
|
bool refresh_values_only)
|
||||||
{
|
{
|
||||||
struct gdbarch *gdbarch = get_frame_arch (frame);
|
struct gdbarch *gdbarch = get_frame_arch (frame);
|
||||||
int nr_regs;
|
int nr_regs;
|
||||||
|
@ -108,7 +108,7 @@ private:
|
|||||||
|
|
||||||
void show_register_group (struct reggroup *group,
|
void show_register_group (struct reggroup *group,
|
||||||
struct frame_info *frame,
|
struct frame_info *frame,
|
||||||
int refresh_values_only);
|
bool refresh_values_only);
|
||||||
|
|
||||||
/* Answer the number of the last line in the regs display. If there
|
/* Answer the number of the last line in the regs display. If there
|
||||||
are no registers (-1) is returned. */
|
are no registers (-1) is returned. */
|
||||||
|
Reference in New Issue
Block a user