This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Use target_terminal_ours_for_output in exceptions.c
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 12 Apr 2016 22:29:44 -0400
- Subject: [binutils-gdb] Use target_terminal_ours_for_output in exceptions.c
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 481ac8c9bbbfc4b7506dfdb4a5b92b859d5c47d9 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 481ac8c9bbbfc4b7506dfdb4a5b92b859d5c47d9
Use target_terminal_ours_for_output in exceptions.c
We're only doing output here, so leave raw/cooked mode alone, as well
as the SIGINT handler.
Restore terminal settings after output, while at it.
gdb/ChangeLog:
2016-04-12 Pedro Alves <palves@redhat.com>
* exceptions.c (print_flush): Use target_terminal_ours_for_output
instead of target_terminal_ours, and restore target terminal with
a cleanup.