binutils-gdb/gdb/cli
Pedro Alves f38d3ad186 Make instream be per UI
gdb/ChangeLog:
2016-06-21  Pedro Alves  <palves@redhat.com>

	* cli/cli-script.c (execute_user_command, read_next_line)
	(read_next_line): Adjust to per-UI instream.
	* event-top.c (stdin_event_handler, command_handler)
	(handle_line_of_input, command_line_handler)
	(gdb_readline_no_editing_callback, async_sigterm_handler)
	(gdb_setup_readline): Likewise.
	* inflow.c: Include top.h.
	(gdb_has_a_terminal, child_terminal_init_with_pgrp)
	(gdb_save_tty_state, child_terminal_inferior)
	(child_terminal_ours_1, copy_terminal_info): Use the main UI.
	(initialize_stdin_serial): Adjust to per-UI instream.
	* main.c (captured_command_loop, captured_main): Adjust to per-UI
	instream.
	* mi/mi-interp.c (mi_execute_command_wrapper): Likewise.
	* python/python.c (python_interactive_command): Likewise.
	* terminal.h (struct ui): Forward declare.
	(initialize_stdin_serial): Add struct ui parameter.
	* top.c (instream): Delete.
	(do_restore_instream_cleanup, read_command_file, dont_repeat)
	(gdb_readline_no_editing, command_line_input)
	(input_from_terminal_p, gdb_init): Adjust to per-UI instream.
	* top.h (struct ui) <instream>: New field.
	(instream): Delete declaration.
	(quit): Adjust to per-UI instream.

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

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2016-06-21 01:11:46 +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 Make the intepreters output to all UIs 2016-06-21 01:11:45 +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