aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-sunos.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-01-29 21:11:24 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-01-29 21:11:24 +0000
commitae123ec613348e9e00c637c6945bbaab1a26ce42 (patch)
treeb0153aac96928f39d5eb0d87eb590e7b4501b4ac /gdb/solib-sunos.c
parent401ea829c8166bb5a1f18ec2a164e8ee4b244fc8 (diff)
downloadgdb-ae123ec613348e9e00c637c6945bbaab1a26ce42.zip
gdb-ae123ec613348e9e00c637c6945bbaab1a26ce42.tar.gz
gdb-ae123ec613348e9e00c637c6945bbaab1a26ce42.tar.bz2
* 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/solib-sunos.c')
-rw-r--r--gdb/solib-sunos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-sunos.c b/gdb/solib-sunos.c
index f16e9b5..0834d0f 100644
--- a/gdb/solib-sunos.c
+++ b/gdb/solib-sunos.c
@@ -765,7 +765,7 @@ sunos_solib_create_inferior_hook (void)
do
{
target_resume (pid_to_ptid (-1), 0, stop_signal);
- wait_for_inferior ();
+ wait_for_inferior (0);
}
while (stop_signal != TARGET_SIGNAL_TRAP);
stop_soon = NO_STOP_QUIETLY;