Use target_terminal_ours_for_output in infcmd.c
authorPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:49:31 +0000 (16:49 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 12 Apr 2016 15:58:55 +0000 (16:58 +0100)
commitf8e3ef9dc4d803729a8f0e0cafb2c995b576c44e
tree826ed16ed3e188a48913e683540ba0f4768bc439
parent481ac8c9bbbfc4b7506dfdb4a5b92b859d5c47d9
Use target_terminal_ours_for_output in infcmd.c

We're only doing output here, so leave raw/cooked mode alone, as well
as the SIGINT handler.

No need to restore terminal settings, we'll set inferior modes on the
following resume.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

* infcmd.c (post_create_inferior, prepare_one_step): Use
target_terminal_ours_for_output instead of target_terminal_ours.
gdb/ChangeLog
gdb/infcmd.c