summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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
commit4380a4c94a2d049951c3222703f641bfe093e67e (patch)
treeb076216a7cd55a7ada96aa6ca1d9b4e4486cfdec /gdb/inferior.h
parent55c0a3815cf30ab061d26a7f13d7120f10c95c8b (diff)
downloadgdb-4380a4c94a2d049951c3222703f641bfe093e67e.tar.gz
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/inferior.h')
-rw-r--r--gdb/inferior.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index e875e9cc186..8035ccd9825 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -152,6 +152,8 @@ extern void kill_inferior (void);
extern void generic_mourn_inferior (void);
+extern void terminal_save_ours (void);
+
extern void terminal_ours (void);
extern int run_stack_dummy (CORE_ADDR , struct regcache *);