diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-01-29 21:11:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-01-29 21:11:24 +0000 |
commit | 970b40e0e3e6b6139abc496f12989e394af2af29 (patch) | |
tree | 151dc18d9d922c7e5ef8fb68fc02eab1d9499a58 /gdb/win32-nat.c | |
parent | 29b912f487057828588c7c68671940ccf9d95229 (diff) | |
download | gdb-970b40e0e3e6b6139abc496f12989e394af2af29.tar.gz |
* 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.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 954a5977819..48d07e423d3 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -1507,7 +1507,7 @@ do_initial_win32_stuff (DWORD pid) while (1) { stop_after_trap = 1; - wait_for_inferior (); + wait_for_inferior (0); if (stop_signal != TARGET_SIGNAL_TRAP) resume (0, stop_signal); else |