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 | ae123ec613348e9e00c637c6945bbaab1a26ce42 (patch) | |
tree | b0153aac96928f39d5eb0d87eb590e7b4501b4ac /gdb/inf-ttrace.c | |
parent | 401ea829c8166bb5a1f18ec2a164e8ee4b244fc8 (diff) | |
download | fsf-binutils-gdb-ae123ec613348e9e00c637c6945bbaab1a26ce42.zip fsf-binutils-gdb-ae123ec613348e9e00c637c6945bbaab1a26ce42.tar.gz fsf-binutils-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/inf-ttrace.c')
-rw-r--r-- | gdb/inf-ttrace.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index 4f8b45f..c3a0bb6 100644 --- a/gdb/inf-ttrace.c +++ b/gdb/inf-ttrace.c @@ -896,10 +896,6 @@ inf_ttrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus) #endif case TTEVT_EXEC: - /* FIXME: kettenis/20051029: GDB doesn't really know how to deal - with TARGET_WAITKIND_EXECD events yet. So we make it look - like a SIGTRAP instead. */ -#if 0 ourstatus->kind = TARGET_WAITKIND_EXECD; ourstatus->value.execd_pathname = xmalloc (tts.tts_u.tts_exec.tts_pathlen + 1); @@ -908,10 +904,6 @@ inf_ttrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus) tts.tts_u.tts_exec.tts_pathlen, 0) == -1) perror_with_name (("ttrace")); ourstatus->value.execd_pathname[tts.tts_u.tts_exec.tts_pathlen] = 0; -#else - ourstatus->kind = TARGET_WAITKIND_STOPPED; - ourstatus->value.sig = TARGET_SIGNAL_TRAP; -#endif break; case TTEVT_EXIT: |