diff options
author | qiyao <qiyao> | 2012-09-21 01:46:39 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-09-21 01:46:39 +0000 |
commit | 052e8b6ee41e74bcb1c19b171f3c96ca74c20224 (patch) | |
tree | fe659c13b784dbc2b57bf4fcb04e48cc9982e43d /gdb/doc/observer.texi | |
parent | bdfd9557a81613f5be89f1ad9cc502d9f9dc25c7 (diff) | |
download | gdb-052e8b6ee41e74bcb1c19b171f3c96ca74c20224.tar.gz |
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 09aa91f2168..a27e9831731 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 |