diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-04 19:23:42 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-04 19:23:42 +0000 |
commit | 567449a00c676854c62ce5a729ba1437238c8357 (patch) | |
tree | bd6cd53674bc9a2bf32964242fc150483e1ab6fe /gdb/ser-pipe.c | |
parent | f033fcb9b2e57511919fc0987fb3b7dd2662610e (diff) | |
download | gdb-567449a00c676854c62ce5a729ba1437238c8357.tar.gz |
* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
(terminal_save_ours): Remove misleading comment.
(inflow_inferior_data_cleanup): Free ttystate.
(inflow_inferior_exit): Likewise.
(copy_terminal_info): Copy ttystate.
* serial.c (serial_copy_tty_state): New function.
* serial.h (serial_copy_tty_state): Add prototype.
(struct serial_ops): Add copy_tty_state callback.
* ser-base.c (ser_base_copy_tty_state): New function.
* ser-base.h (ser_base_copy_tty_state): Add prototype.
* ser-go32.c (dos_copy_tty_state): New function.
(dos_ops): Install copy_tty_state callback.
* ser-mingw.c (_initialize_ser_windows): Likewise.
* ser-pipe.c (_initialize_ser_pipe): Likewise.
* ser-unix.c (hardwire_copy_tty_state): New function.
(_initialize_ser_hardwire): Install it.
Diffstat (limited to 'gdb/ser-pipe.c')
-rw-r--r-- | gdb/ser-pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c index fd6650a27f4..9bf0d04f306 100644 --- a/gdb/ser-pipe.c +++ b/gdb/ser-pipe.c @@ -214,6 +214,7 @@ _initialize_ser_pipe (void) ops->send_break = ser_base_send_break; ops->go_raw = ser_base_raw; ops->get_tty_state = ser_base_get_tty_state; + ops->copy_tty_state = ser_base_copy_tty_state; ops->set_tty_state = ser_base_set_tty_state; ops->print_tty_state = ser_base_print_tty_state; ops->noflush_set_tty_state = ser_base_noflush_set_tty_state; |