This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.11-branch] Use target_terminal_ours_for_output in MI
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 16 May 2016 17:16:59 -0400
- Subject: [binutils-gdb/gdb-7.11-branch] Use target_terminal_ours_for_output in MI
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 7f8e34d8604098e221f342cf162898fb25499900 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.11-branch
Commit: 7f8e34d8604098e221f342cf162898fb25499900
Use target_terminal_ours_for_output in MI
The MI code only does output, so leave raw/cooked mode alone, as well
as the SIGINT handler. Restore terminal settings after output, while
at it. Also, a couple events missed calling target_terminal_ours
before output, even.
[Backported to the 7.11 branch by Simon Marchi, as it fixes PR 20039.]
gdb/ChangeLog:
YYYY-MM-DD Pedro Alves <palves@redhat.com>
* mi/mi-interp.c (mi_new_thread): Put
target_terminal_ours_for_output in effect while outputting.
(mi_thread_exit): Use target_terminal_ours_for_output instead of
target_terminal_ours.
(mi_record_changed, mi_inferior_added, mi_inferior_appeared)
(mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed)
(mi_tsv_created, mi_tsv_deleted, mi_tsv_modified)
(mi_breakpoint_created, mi_breakpoint_deleted)
(mi_breakpoint_modified, mi_solib_loaded, mi_solib_unloaded)
(mi_command_param_changed, mi_memory_changed)
(report_initial_inferior): Use target_terminal_ours_for_output
instead of target_terminal_ours. Restore terminal settings.
* mi/mi-main.c (mi_execute_command): Use
target_terminal_ours_for_output instead of target_terminal_ours.
Restore terminal settings.
- Follow-Ups:
- Failures on RHEL-s390x-m64, branch gdb-7.11-branch
- Failures on Fedora-x86_64-m32, branch gdb-7.11-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-7.11-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-7.11-branch
- Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.11-branch
- Failures on Debian-i686, branch gdb-7.11-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.11-branch
- Failures on Fedora-i686, branch gdb-7.11-branch
- Failures on AIX-POWER7-plain, branch gdb-7.11-branch
- Failures on Fedora-s390x-m64, branch gdb-7.11-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.11-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.11-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.11-branch
- Failures on Fedora-ppc64le-native-gdbserver-m64, branch gdb-7.11-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.11-branch