This changes tui_data_window::display_regs to bool and updates the
uses.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_show_registers): Update.
* tui/tui-data.h (struct tui_data_window) <display_regs>: Now
bool.
* tui/tui-data.c (tui_data_window::clear_detail)
(tui_data_window): Update.
+2019-06-25 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_show_registers): Update.
+ * tui/tui-data.h (struct tui_data_window) <display_regs>: Now
+ bool.
+ * tui/tui-data.c (tui_data_window::clear_detail)
+ (tui_data_window): Update.
+
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-windata.c (tui_display_all_data)
regs_content = NULL;
regs_content_count = 0;
regs_column_count = 1;
- display_regs = FALSE;
+ display_regs = false;
}
/* Accessor for the source execution info ptr. */
regs_content = NULL;
regs_content_count = 0;
regs_column_count = 1;
- display_regs = FALSE;
+ display_regs = false;
current_group = 0;
}
data_content = NULL;
data_content_count = 0;
regs_column_count = 1;
- display_regs = FALSE;
+ display_regs = false;
generic.content = NULL;
generic.content_size = 0;
}
tui_win_content regs_content; /* Start of regs display content. */
int regs_content_count;
int regs_column_count;
- int display_regs; /* Should regs be displayed at all? */
+ bool display_regs; /* Should regs be displayed at all? */
struct reggroup *current_group;
protected:
/* Say that registers should be displayed, even if there is a
problem. */
- TUI_DATA_WIN->display_regs = TRUE;
+ TUI_DATA_WIN->display_regs = true;
if (target_has_registers && target_has_stack && target_has_memory)
{