import gdb-19990504 snapshot
[deliverable/binutils-gdb.git] / gdb / gnu-nat.c
index 795f8a855106098faad7d919d7b92dabd5ca881c..85dc669cba3315c9461487d5fa9a94a2013aec53 100644 (file)
@@ -2004,6 +2004,10 @@ gnu_attach (args, from_tty)
   attach_flag = 1;
   push_target (&gnu_ops);
 
+  /* We have to initialize the terminal settings now, since the code
+     below might try to restore them.  */
+  target_terminal_init ();
   inf_update_signal_thread (inf);
   inf_set_traced (inf, inf->want_signals);
 
This page took 0.023608 seconds and 4 git commands to generate.