diff options
author | Pedro Alves <palves@redhat.com> | 2016-06-21 01:11:49 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-06-21 01:11:49 +0100 |
commit | 215d3118fe5f120c1deba66943329e30073ed780 (patch) | |
tree | 53add6d05139ae62143ebddf7386c76391ba59fe /config.rpath | |
parent | c61db772bf5dc21bf8e0db9acfa8796804f945ab (diff) | |
download | gdb-215d3118fe5f120c1deba66943329e30073ed780.zip gdb-215d3118fe5f120c1deba66943329e30073ed780.tar.gz gdb-215d3118fe5f120c1deba66943329e30073ed780.tar.bz2 |
Make target_terminal_inferior/ours almost nops on non-main UIs
Since we always run the inferior in the main console (unless "set
inferior-tty" is in effect), when some UI other than the main one
calls target_terminal_inferior/target_terminal_inferior, then we only
register/unregister the UI's input from the event loop, but leave the
main UI's terminal settings as is.
gdb/ChangeLog:
2016-06-21 Pedro Alves <palves@redhat.com>
* target.c (target_terminal_inferior): Bail out after
unregistering input_fd if not on the main UI.
(target_terminal_ours): Bail out after registering input_fd if not
on the main UI.
(target_terminal_ours_for_output): Bail out if not on the main UI.
Diffstat (limited to 'config.rpath')
0 files changed, 0 insertions, 0 deletions