From 9353355fa3d730a3ffa21e35fef78cfb6475effa Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 24 Jan 2006 22:34:34 +0000 Subject: 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. --- gdb/inferior.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/inferior.h') diff --git a/gdb/inferior.h b/gdb/inferior.h index 4f1b71f..b3a5f55 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -213,8 +213,6 @@ extern void store_inferior_registers (int); extern void fetch_inferior_registers (int); -extern void solib_create_inferior_hook (void); - extern void child_terminal_info (char *, int); extern void term_info (char *, int); -- cgit v1.1