* remote.c (remote_open_1): Call observer_notify_inferior_created.
authorDaniel Jacobowitz <drow@false.org>
Thu, 3 Mar 2005 16:54:05 +0000 (16:54 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 3 Mar 2005 16:54:05 +0000 (16:54 +0000)
gdb/ChangeLog
gdb/remote.c

index 758f5f2..31d5950 100644 (file)
@@ -1,5 +1,9 @@
 2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
 
+       * remote.c (remote_open_1): Call observer_notify_inferior_created.
+
+2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
        * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
        (arm_stub_unwind, arm_stub_unwind_sniffer): New.
        (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
index 444e6e8..9b259fa 100644 (file)
@@ -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 (&current_target, from_tty);
 }
 
 /* This takes a program previously attached to and detaches it.  After