binutils-gdb/gdb/tui
Pedro Alves eaae60fd94 Only send sync execution command output to the UI that ran the command
Currently when a "step", "next", etc. finishes, the current source
line is printed on all console UIs.

This patch makes the CLI and TUI interpreters reuse MI's logic to only
emit console output related to a synchronous command on the
console-like interpreter that started the command in the first place.

gdb/ChangeLog:
2016-06-21  Pedro Alves  <palves@redhat.com>

	* cli/cli-interp.c (cli_on_normal_stop): Bail out early if there's
	nothing to print.  Use should_print_stop_to_console.
	* tui/tui-interp.c (tui_on_normal_stop): Likewise.
2016-06-21 01:11:53 +01:00
..
ChangeLog-1998-2003
tui-command.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-command.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-data.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-data.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-disasm.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-disasm.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-file.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-file.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-hooks.c TUI: GC tui_target_has_run 2016-04-12 17:00:54 +01:00
tui-hooks.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-interp.c Only send sync execution command output to the UI that ran the command 2016-06-21 01:11:53 +01:00
tui-io.c Make gdb_in_secondary_prompt_p() be per UI 2016-06-21 01:11:51 +01:00
tui-io.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-layout.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-layout.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-out.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-regs.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-regs.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-source.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-source.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-stack.c Pass a NULL pointer as the last argument to find_pc_partial_function. 2016-06-14 11:49:34 -07:00
tui-stack.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-win.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-win.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-windata.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-windata.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-wingeneral.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-wingeneral.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-winsource.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui-winsource.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tui.c Make gdb_in_secondary_prompt_p() be per UI 2016-06-21 01:11:51 +01:00
tui.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00