binutils-gdb/gdb/tui
Tom Tromey b4b49dcbff 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
2019-12-20 09:15:59 -07:00
..
ChangeLog-1998-2003
tui-command.c Remove struct tui_point 2019-12-11 15:49:01 -07:00
tui-command.h
tui-data.c
tui-data.h Remove struct tui_point 2019-12-11 15:49:01 -07:00
tui-disasm.c Reimplement tui_get_begin_asm_address 2019-12-20 09:15:54 -07:00
tui-disasm.h Use symtab_and_line when updating TUI windows 2019-12-20 09:15:53 -07:00
tui-file.c
tui-file.h
tui-hooks.c Change tui_show_frame_info to return bool 2019-12-20 09:15:58 -07:00
tui-hooks.h
tui-interp.c
tui-io.c Make isearch change readline prompt in TUI 2019-12-20 08:49:52 -07:00
tui-io.h
tui-layout.c Change "winheight" resizing to use new layout code 2019-12-11 15:49:03 -07:00
tui-layout.h Add virtual destructor to tui_layout_base 2019-12-17 15:01:15 -05:00
tui-out.c Don't call tui_show_source from tui_ui_out 2019-12-20 09:15:59 -07:00
tui-out.h
tui-regs.c
tui-regs.h Introduce the tui_gen_win_info::min_height method 2019-12-11 15:49:00 -07:00
tui-source.c Use symtab_and_line when updating TUI windows 2019-12-20 09:15:53 -07:00
tui-source.h Use symtab_and_line when updating TUI windows 2019-12-20 09:15:53 -07:00
tui-stack.c Change tui_show_frame_info to return bool 2019-12-20 09:15:58 -07:00
tui-stack.h Change tui_show_frame_info to return bool 2019-12-20 09:15:58 -07:00
tui-win.c Change "winheight" resizing to use new layout code 2019-12-11 15:49:03 -07:00
tui-win.h
tui-wingeneral.c Remove struct tui_point 2019-12-11 15:49:01 -07:00
tui-wingeneral.h
tui-winsource.c Don't call set_current_source_symtab_and_line from TUI 2019-12-20 09:15:56 -07:00
tui-winsource.h Simplify tui_update_source_windows_with_line 2019-12-20 09:15:54 -07:00
tui.c Don't call tui_show_source from tui_ui_out 2019-12-20 09:15:59 -07:00
tui.h Don't call tui_show_source from tui_ui_out 2019-12-20 09:15:59 -07:00