summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-21 16:04:03 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-21 16:04:03 +0000
commit2fa1d629fc084236493b9cd33d27c8a37afb142e (patch)
treeccbee765e87c13cebcd179707446a74e16890b3f /gdb/doc
parent3d7ba75f1576457ca2d9421f57c56debacbb5a1f (diff)
downloadgdb-2fa1d629fc084236493b9cd33d27c8a37afb142e.tar.gz
2004-05-21 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Document "inferior_created".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/observer.texi8
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index cedcd360fbf..27501ae70fc 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-21 Andrew Cagney <cagney@redhat.com>
+
+ * observer.texi (GDB Observers): Document "inferior_created".
+
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index fa7e1c3f0e7..f58c5af8383 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -82,3 +82,11 @@ The inferior has stopped for real.
@deftypefun void target_changed (struct target_ops *@var{target})
The target's register contents have changed.
@end deftypefun
+
+@deftypefun void inferior_created (struct target_ops *@var{objfile}, int @var{from_tty})
+@value{GDBN} has just connected to an inferior. For @samp{run},
+@value{GDBN} calls this observer while the inferior is still stopped
+at the entry-point instruction. For @samp{attach} and @samp{core},
+@value{GDBN} calls this observer immediately after connecting to the
+inferior, and before any information on the inferior has been printed.
+@end deftypefun