From: Andrew Cagney Date: Fri, 21 May 2004 16:04:03 +0000 (+0000) Subject: 2004-05-21 Andrew Cagney X-Git-Tag: gprof-pre-ansify-2004-05-26~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59caf092b6c9aca6e0066b22c45e56c2d895b7c7;p=platform%2Fupstream%2Fbinutils.git 2004-05-21 Andrew Cagney * observer.texi (GDB Observers): Document "inferior_created". --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index cedcd36..27501ae 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2004-05-21 Andrew Cagney + + * observer.texi (GDB Observers): Document "inferior_created". + 2004-05-08 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Delete diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index fa7e1c3..f58c5af 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