diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 14:04:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:31 -0600 |
commit | ceb13a13822b28d8e1cdc2e02975bb6569d3d8e6 (patch) | |
tree | 086d5fda8eb8b73f3a61d93fab6c70898e771bbf /gdb/tui/tui-data.c | |
parent | 238eb706f902da8afef1d5e3c9fdfeecf688bac3 (diff) | |
download | gdb-ceb13a13822b28d8e1cdc2e02975bb6569d3d8e6.zip gdb-ceb13a13822b28d8e1cdc2e02975bb6569d3d8e6.tar.gz gdb-ceb13a13822b28d8e1cdc2e02975bb6569d3d8e6.tar.bz2 |
Change tui_data_window::display_regs to bool
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.
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r-- | gdb/tui/tui-data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index 48332fa..5cdbc68 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -195,7 +195,7 @@ tui_data_window::clear_detail () regs_content = NULL; regs_content_count = 0; regs_column_count = 1; - display_regs = FALSE; + display_regs = false; } /* Accessor for the source execution info ptr. */ @@ -503,7 +503,7 @@ tui_data_window::tui_data_window () regs_content = NULL; regs_content_count = 0; regs_column_count = 1; - display_regs = FALSE; + display_regs = false; current_group = 0; } @@ -621,7 +621,7 @@ tui_data_window::~tui_data_window () data_content = NULL; data_content_count = 0; regs_column_count = 1; - display_regs = FALSE; + display_regs = false; generic.content = NULL; generic.content_size = 0; } |