aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-winsource.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-09 21:22:38 -0600
committerTom Tromey <tom@tromey.com>2019-08-16 11:28:33 -0600
commitd4ab829a2477d454bd38544f1b88a043ec58581c (patch)
treea4fe04ab974e353f95f522dbced68a1b66275c49 /gdb/tui/tui-winsource.h
parentb4c555cfc48689d45481effff23c9017a4f3557f (diff)
downloadgdb-d4ab829a2477d454bd38544f1b88a043ec58581c.zip
gdb-d4ab829a2477d454bd38544f1b88a043ec58581c.tar.gz
gdb-d4ab829a2477d454bd38544f1b88a043ec58581c.tar.bz2
Remove m_has_locator
The previous patch removed the only use of m_has_locator, so this member can now be removed. gdb/ChangeLog 2019-08-16 Tom Tromey <tom@tromey.com> * tui/tui-winsource.h (struct tui_source_window_base) <m_has_locator>: Remove. * tui/tui-layout.c (show_source_disasm_command, show_data) (show_source_or_disasm_and_command): Update.
Diffstat (limited to 'gdb/tui/tui-winsource.h')
-rw-r--r--gdb/tui/tui-winsource.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h
index 7304e72..a4167f5 100644
--- a/gdb/tui/tui-winsource.h
+++ b/gdb/tui/tui-winsource.h
@@ -138,8 +138,6 @@ public:
/* Erase the source content. */
virtual void erase_source_content () = 0;
- /* Does the locator belong to this window? */
- bool m_has_locator = false;
/* Execution information window. */
struct tui_exec_info_window *execution_info;
/* Used for horizontal scroll. */