mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
and use it.
(proceed, start_remote): Update call to wait_for_inferior.
* inferior.h (wait_for_inferior): Update declaration.
* fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
* inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
This commit is contained in:
@@ -1908,7 +1908,7 @@ attach_command (char *args, int from_tty)
|
||||
way for handle_inferior_event to reset the stop_signal variable
|
||||
after an attach, and this is what STOP_QUIETLY_NO_SIGSTOP is for. */
|
||||
stop_soon = STOP_QUIETLY_NO_SIGSTOP;
|
||||
wait_for_inferior ();
|
||||
wait_for_inferior (0);
|
||||
stop_soon = NO_STOP_QUIETLY;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user