OSDN Git Service

Fix PR gdb/393:
authorciceron <ciceron>
Mon, 26 Aug 2002 19:18:32 +0000 (19:18 +0000)
committerciceron <ciceron>
Mon, 26 Aug 2002 19:18:32 +0000 (19:18 +0000)
commitced623575c228921771ed1cf8fdb534b9f24ec3a
tree04d6d8e486eb3790f77968529e68224eddf9d6e3
parent8988fd793bdf1027167ba32ff7607d9dac41c4e8
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.
13 files changed:
gdb/ChangeLog
gdb/gnu-nat.c
gdb/hpux-thread.c
gdb/inferior.h
gdb/inflow.c
gdb/inftarg.c
gdb/m3-nat.c
gdb/procfs.c
gdb/sol-thread.c
gdb/target.c
gdb/target.h
gdb/win32-nat.c
gdb/wince.c