diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-07 18:40:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-07 18:40:39 +0000 |
commit | 2f1c7c3fd0024f4c396626602ea6da10d57ae9e2 (patch) | |
tree | 4f568317832cb93af72ac6e324c59230b304f5e6 /gdb/infrun.c | |
parent | 01383fb4585c5cca3be827607c2067122604a443 (diff) | |
download | gdb-2f1c7c3fd0024f4c396626602ea6da10d57ae9e2.zip gdb-2f1c7c3fd0024f4c396626602ea6da10d57ae9e2.tar.gz gdb-2f1c7c3fd0024f4c396626602ea6da10d57ae9e2.tar.bz2 |
* blockframe.c (find_pc_partial_function): If we call
PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
This is needed now that wait_for_inferior passes in endaddr.
* infrun.c: Move call to target_terminal_inferior from proceed
to resume.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index d539ddd..84ccf93 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -303,6 +303,9 @@ resume (step, sig) DO_DEFERRED_STORES; #endif + /* Install inferior's terminal modes. */ + target_terminal_inferior (); + target_resume (inferior_pid, step, sig); discard_cleanups (old_cleanups); } @@ -391,9 +394,6 @@ The same program may be running in another process."); breakpoints_inserted = 1; } - /* Install inferior's terminal modes. */ - target_terminal_inferior (); - if (siggnal >= 0) stop_signal = siggnal; /* If this signal should not be seen by program, |