diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 12:28:05 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-11-17 12:28:05 +0000 |
commit | e7869269d3657b94d83ea440569ebdcd21c56189 (patch) | |
tree | 0607f99fd1722189d40b503456365001a2233ff0 /gdb/doc/observer.texi | |
parent | c52c9073d08225f822d625a8d76819ba5a0470bf (diff) | |
download | gdb-e7869269d3657b94d83ea440569ebdcd21c56189.tar.gz |
Notification for attach/detach.
* inferior.c: Call the process observers.
* mi/mi-interp.c (mi_new_inferior, mi_inferior_exit): New.
(mi_interpreter_init): Register the above.
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r-- | gdb/doc/observer.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index f76bf9ff366..636658af66b 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -187,3 +187,13 @@ a pointer to the new architecture. The thread's ptid has changed. The @var{old_ptid} parameter specifies the old value, and @var{new_ptid} specifies the new value. @end deftypefun + +@deftypefun void new_inferior (int @var{pid}) +@value{GDBN} has attached to a new inferior identified by @var{pid}. +@end deftypefun + +@deftypefun void inferior_exit (int @var{pid}) +Either @value{GDBN} detached from the inferior, or the inferior +exited. The argument @var{pid} identifies the inferior. +@end deftypefun + |