diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-21 16:04:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-21 16:04:03 +0000 |
commit | 59caf092b6c9aca6e0066b22c45e56c2d895b7c7 (patch) | |
tree | 2c938acf0291f1223a007f936f87ea2f3ecac11f /gdb/doc/observer.texi | |
parent | 2d643429defea3c00819c1d9a288d424ad76a825 (diff) | |
download | gdb-59caf092b6c9aca6e0066b22c45e56c2d895b7c7.zip gdb-59caf092b6c9aca6e0066b22c45e56c2d895b7c7.tar.gz gdb-59caf092b6c9aca6e0066b22c45e56c2d895b7c7.tar.bz2 |
2004-05-21 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Document "inferior_created".
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r-- | gdb/doc/observer.texi | 8 |
1 files changed, 8 insertions, 0 deletions
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 |