diff options
author | Tom Tromey <tom@tromey.com> | 2019-11-13 16:47:58 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-12-20 09:15:59 -0700 |
commit | b4b49dcbff6b437fa8b4e2fc0c3f27b457f11310 (patch) | |
tree | eae7d652490d9893ec5b0642c0e30a910703541a /gdb/tui/tui.h | |
parent | eb390f499b820b74e0ab07162b0b8bd12da6f35a (diff) | |
download | gdb-b4b49dcbff6b437fa8b4e2fc0c3f27b457f11310.zip gdb-b4b49dcbff6b437fa8b4e2fc0c3f27b457f11310.tar.gz gdb-b4b49dcbff6b437fa8b4e2fc0c3f27b457f11310.tar.bz2 |
Don't call tui_show_source from tui_ui_out
This removes the call to tui_show_source from tui_ui_out. This always
seemed like a hack, and now that the TUI is using the proper
observers, it seems not to be needed.
The rest of the logic remains, unfortunately, because it is needed to
suppress some gdb output in the TUI case. We could probably find a
nicer way to do this (maybe a ui_out_flag), but I haven't attempted
this.
This was the last caller of tui_show_source, so this is removed as
well.
gdb/ChangeLog
2019-12-20 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_show_source): Remove.
* tui/tui.h (tui_show_source): Don't declare.
* tui/tui-out.c (tui_ui_out::do_field_string): Don't call
tui_show_source.
Change-Id: Id71098e597ee4ebfef0429562baa45f537bd2c2b
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r-- | gdb/tui/tui.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index 0ac1fb4..06f3ef1 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -83,6 +83,4 @@ extern void tui_set_key_mode (enum tui_key_mode mode); extern int tui_active; -extern void tui_show_source (); - #endif /* TUI_TUI_H */ |