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
tui-command.h
tui-data.c
tui-data.h
tui-disasm.c
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c
tui-hooks.h
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
tui-layout.c
tui-layout.h
tui-out.c
tui-regs.c
tui-regs.h
tui-source.c
tui-source.h
tui-stack.c
tui-stack.h
tui-win.c
tui-win.h
tui-windata.c
tui-windata.h
tui-wingeneral.c
tui-wingeneral.h
tui-winsource.c
tui-winsource.h
tui.c Make gdb_in_secondary_prompt_p() be per UI 2016-06-21 01:11:51 +01:00
tui.h