aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-01-24 22:34:34 +0000
committerDaniel Jacobowitz <drow@false.org>2006-01-24 22:34:34 +0000
commit9353355fa3d730a3ffa21e35fef78cfb6475effa (patch)
treeb911676afdc03d4e71d3c113c9c190eaf71308f6 /gdb/inftarg.c
parent281b533b6ced43d45f4630a47e998ec82c42e2aa (diff)
downloadgdb-9353355fa3d730a3ffa21e35fef78cfb6475effa.zip
gdb-9353355fa3d730a3ffa21e35fef78cfb6475effa.tar.gz
gdb-9353355fa3d730a3ffa21e35fef78cfb6475effa.tar.bz2
PR gdb/1914
* fork-child.c (fork_inferior): Don't call solib_create_inferior_hook. * infcmd.c (post_create_inferior): Call solib_add, solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. (attach_command): Don't call solib_add or re_enable_breakpoints_in_shlibs. Call post_create_inferior instead. * remote.c (remote_open_1): Don't call solib_create_inferior_hook or observer_notify_inferior_created. Call post_create_inferior instead. * corelow.c: Don't include "observer.h". (solib_add_stub): Deleted. (core_open): Don't call observer_notify_inferior_created or solib_add_stub. Call post_create_inferior instead. * inf-ptrace.c: Don't include "observer.h". (inf_ptrace_attach): Don't call observer_notify_inferior_created. * inf-ttrace.c: Don't include "observer.h". (inf_ttrace_attach): Don't call observer_notify_inferior_created. * inferior.h (solib_create_inferior_hook): Remove redundant prototype. * inftarg.c: Don't include "observer.h". (child_attach): Don't call observer_notify_inferior_created. * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index 2160373..2e3d88e 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -34,7 +34,6 @@
#include <signal.h>
#include <sys/types.h>
#include <fcntl.h>
-#include "observer.h"
#include "gdb_wait.h"
#include "inflow.h"
@@ -210,10 +209,6 @@ child_attach (char *args, int from_tty)
inferior_ptid = pid_to_ptid (pid);
push_target (&deprecated_child_ops);
-
- /* Do this first, before anything has had a chance to query the
- inferior's symbol table or similar. */
- observer_notify_inferior_created (&current_target, from_tty);
}
#if !defined(CHILD_POST_ATTACH)