aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-03-03 16:54:05 +0000
committerDaniel Jacobowitz <drow@false.org>2005-03-03 16:54:05 +0000
commite20b46382a937f11ace221ee5b8a68aab819f504 (patch)
treedb57a1d01c6dbbeaec53a12cafe3ccb1702f235a
parent82b829a7d3de4ac4b437a8298fa3f16879864151 (diff)
downloadgdb-e20b46382a937f11ace221ee5b8a68aab819f504.zip
gdb-e20b46382a937f11ace221ee5b8a68aab819f504.tar.gz
gdb-e20b46382a937f11ace221ee5b8a68aab819f504.tar.bz2
* remote.c (remote_open_1): Call observer_notify_inferior_created.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 758f5f2..31d5950 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/remote.c b/gdb/remote.c
index 444e6e8..9b259fa 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 (&current_target, from_tty);
}
/* This takes a program previously attached to and detaches it. After