aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-26 19:18:33 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-26 19:18:33 +0000
commita790ad353e281fa104029acfa34c9cf866ad4873 (patch)
tree07294fdc78f68cd55fe049090342ca4304b99388 /gdb/m3-nat.c
parent3d7f4f4914a2798426e66bcdb7e00094fdd48242 (diff)
downloadfsf-binutils-gdb-a790ad353e281fa104029acfa34c9cf866ad4873.zip
fsf-binutils-gdb-a790ad353e281fa104029acfa34c9cf866ad4873.tar.gz
fsf-binutils-gdb-a790ad353e281fa104029acfa34c9cf866ad4873.tar.bz2
Fix PR gdb/393:
* inflow.c (terminal_save_ours): New function to save terminal settings. * inferior.h (terminal_save_ours): Declare. * target.c (debug_to_terminal_save_ours): New function. (cleanup_target): Defaults to_terminal_save_ours. (update_current_target): Inherit to_terminal_save_ours. (setup_target_debug): Set to_terminal_save_ours. * target.h (target_terminal_save_ours): New to save terminal settings. (target_ops): New member to_terminal_save_ours. * gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours. * hpux-thread.c (init_hpux_thread_ops): Likewise. * inftarg.c (init_child_ops): Likewise. * m3-nat.c (init_m3_ops): Likewise. * procfs.c (init_procfs_ops): Likewise. * wince.c (init_child_ops): Likewise. * win32-nat.c (init_child_ops): Likewise. * sol-thread.c (init_sol_thread_ops): Likewise.
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index c29101b..28e62a8 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -4474,6 +4474,7 @@ init_m3_ops (void)
m3_ops.to_terminal_init = terminal_init_inferior;
m3_ops.to_terminal_inferior = terminal_inferior;
m3_ops.to_terminal_ours_for_output = terminal_ours_for_output;
+ m3_ops.to_terminal_save_ours = terminal_save_ours;
m3_ops.to_terminal_ours = terminal_ours;
m3_ops.to_terminal_info = child_terminal_info;
m3_ops.to_kill = m3_kill_inferior;