diff options
author | Yao Qi <yao@codesourcery.com> | 2012-09-21 01:46:46 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-09-21 01:46:46 +0000 |
commit | 82a90ccf2a55f1cdd4266e638a442bb07df6235f (patch) | |
tree | 8033a64b459af875a3c968054f8cbb8ddcaea450 /gdb/doc/observer.texi | |
parent | 27755b66789bfeb0b1935c66e45cf2624f8ca1bb (diff) | |
download | gdb-82a90ccf2a55f1cdd4266e638a442bb07df6235f.zip gdb-82a90ccf2a55f1cdd4266e638a442bb07df6235f.tar.gz gdb-82a90ccf2a55f1cdd4266e638a442bb07df6235f.tar.bz2 |
gdb/doc:
2012-09-21 Yao Qi <yao@codesourcery.com>
Pedro Alves <palves@redhat.com>
* gdb.texinfo (GDB/MI Async Records): Document notification
'record-started' and 'record-stopped'.
* observer.texi (GDB Observers): New observer 'record-changed'.
gdb:
2012-09-21 Yao Qi <yao@codesourcery.com>
* mi/mi-interp.c: Declare mi_record_changed.
(mi_interpreter_init): Call observer_attach_record_changed.
(mi_record_changed): New.
* record.c (record_open): Call observer_notify_record_changed.
(cmd_record_stop): Call observer_notify_record_changed.
* NEWS: Mention it.
gdb/testsuite:
2012-09-21 Yao Qi <yao@codesourcery.com>
* gdb.mi/mi-record-changed.exp: New.
* gdb.mi/mi-reverse.exp: Adjust expected output.
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r-- | gdb/doc/observer.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index 09aa91f..a27e983 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -113,6 +113,13 @@ at the entry-point instruction. For @samp{attach} and @samp{core}, inferior, and before any information on the inferior has been printed. @end deftypefun +@deftypefun void record_changed (struct inferior *@var{inferior}, int @var{started}) +The status of process record for inferior @var{inferior} in +@value{GDBN} has changed. The process record is started if +@var{started} is true, and the process record is stopped if +@var{started} is false. +@end deftypefun + @deftypefun void solib_loaded (struct so_list *@var{solib}) The shared library specified by @var{solib} has been loaded. Note that when @value{GDBN} calls this observer, the library's symbols probably |