]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-05-21 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 21 May 2004 16:04:03 +0000 (16:04 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 21 May 2004 16:04:03 +0000 (16:04 +0000)
* observer.texi (GDB Observers): Document "inferior_created".

gdb/doc/ChangeLog
gdb/doc/observer.texi

index cedcd360fbf308313eebca3c776537ce8aeb85ad..27501ae70fcd64bf5df280c33c8733fcaee28bef 100644 (file)
@@ -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
index fa7e1c3f0e73af3a2d8e0800da19cd1c628be7db..f58c5af83836bc5d5a2a5fdfae96558010df21ac 100644 (file)
@@ -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