binutils-gdb/gdb/cli
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
..
cli-cmds.c Avoid "format not a string literal" warnings 2016-04-14 12:59:01 +01:00
cli-cmds.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-decode.c Don't show deprecated commands in help 2016-04-28 14:11:51 -04:00
cli-decode.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-dump.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-interp.c Only send sync execution command output to the UI that ran the command 2016-06-21 01:11:53 +01:00
cli-interp.h New function should_print_stop_to_console 2016-06-21 01:11:52 +01:00
cli-logging.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-script.c Make instream be per UI 2016-06-21 01:11:46 +01:00
cli-script.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-setshow.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-setshow.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cli-utils.c Star wildcard ranges (e.g., "info thread 2.*") 2016-01-15 21:46:23 +00:00
cli-utils.h Star wildcard ranges (e.g., "info thread 2.*") 2016-01-15 21:46:23 +00:00