* 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:
Jim Kingdon
1993-10-07 18:40:39 +00:00
parent 01383fb458
commit 2f1c7c3fd0
3 changed files with 17 additions and 4 deletions

View File

@@ -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,