mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* 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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user