From e20b46382a937f11ace221ee5b8a68aab819f504 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 3 Mar 2005 16:54:05 +0000 Subject: [PATCH] * remote.c (remote_open_1): Call observer_notify_inferior_created. --- gdb/ChangeLog | 4 ++++ gdb/remote.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 758f5f21e96..31d5950b97e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-03-03 Daniel Jacobowitz + + * remote.c (remote_open_1): Call observer_notify_inferior_created. + 2005-03-03 Daniel Jacobowitz * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id) diff --git a/gdb/remote.c b/gdb/remote.c index 444e6e8cfd4..9b259fac5d6 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1,7 +1,7 @@ /* Remote target communications for serial-line targets in custom GDB protocol Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -2311,6 +2311,8 @@ remote_open_1 (char *name, int from_tty, struct target_ops *target, remote_check_symbols (symfile_objfile); } #endif + + observer_notify_inferior_created (¤t_target, from_tty); } /* This takes a program previously attached to and detaches it. After -- 2.30.2