summaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-01-24 22:09:28 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-01-24 22:09:28 +0000
commit28081668934b48825a89ee1773d7751a9a29e309 (patch)
tree00a94a13c652c59415ffeee06b3e9140fb708575 /gdb/inf-ttrace.c
parent8089bd60a1b941b1cac0bdca17f0f85fe5bc2c32 (diff)
downloadgdb-28081668934b48825a89ee1773d7751a9a29e309.tar.gz
* infcmd.c: Include "observer.h".
(post_create_inferior): New function. (run_command_1): Call it. Also call proceed. * inferior.h (post_create_inferior): New prototype. * Makefile.in (infcmd.o): Update. * gnu-nat.c (gnu_create_inferior): Don't call proceed. * go32-nat.c (go32_create_inferior): Likewise. * nto-procfs.c (procfs_create_inferior): Likewise. * procfs.c (procfs_create_inferior): Likewise. * remote-sim.c (gdbsim_create_inferior): Likewise. * remote.c (extended_remote_create_inferior) (extended_remote_async_create_inferior): Likewise. * win32-nat.c (win32_create_inferior): Likewise. * wince.c (child_create_inferior): Likewise. * monitor.c (monitor_create_inferior): Don't call proceed. Set the PC manually. * ocd.c (ocd_create_inferior): Likewise. * remote-e7000.c (e7000_create_inferior): Likewise. * remote-m32r-sdi.c (m32r_create_inferior): Likewise. * remote-mips.c (mips_create_inferior): Likewise. * remote-rdp.c (remote_rdp_create_inferior): Likewise. * remote-sds.c (sds_create_inferior): Likewise. * remote-st.c (st2000_create_inferior): Likewise. * inf-ptrace.c (inf_ptrace_create_inferior): Don't call proceed or observer_notify_inferior_created. * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. * inftarg.c (child_create_inferior): Likewise.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r--gdb/inf-ttrace.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index e9dcda899a4..c13eea4adf2 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -1,6 +1,6 @@
/* Low-level child interface to ttrace.
- Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of GDB.
@@ -636,12 +636,6 @@ inf_ttrace_create_inferior (char *exec_file, char *allargs, char **env,
fork_inferior (exec_file, allargs, env, inf_ttrace_me, inf_ttrace_him,
inf_ttrace_prepare, NULL);
-
- /* We are at the first instruction we care about. */
- observer_notify_inferior_created (&current_target, from_tty);
-
- /* Pedal to the metal... */
- proceed ((CORE_ADDR) -1, TARGET_SIGNAL_0, 0);
}
static void