2004-05-21 Andrew Cagney <cagney@redhat.com>

* observer.texi (GDB Observers): Document "inferior_created".
This commit is contained in:
Andrew Cagney 2004-05-21 16:04:03 +00:00
parent 2d643429de
commit 59caf092b6
2 changed files with 12 additions and 0 deletions

View 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> 2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete * gdbint.texinfo (Target Architecture Definition): Delete

View file

@ -82,3 +82,11 @@ The inferior has stopped for real.
@deftypefun void target_changed (struct target_ops *@var{target}) @deftypefun void target_changed (struct target_ops *@var{target})
The target's register contents have changed. The target's register contents have changed.
@end deftypefun @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