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 | |
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')
-rw-r--r-- | gdb/doc/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 6 | ||||
-rw-r--r-- | gdb/doc/observer.texi | 7 |
3 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 89f9e34..ba8231a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +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'. + 2012-09-19 Thomas Schwinge <thomas@codesourcery.com> * gdb.texinfo: Document the removal of SH's 'regs' command. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 1c8c1c2..5fcbada 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27658,6 +27658,12 @@ breakpoint commands; @xref{GDB/MI Breakpoint Commands}. The Note that if a breakpoint is emitted in the result record of a command, then it will not also be emitted in an async record. +@item =record-started,thread-group="@var{id}" +@itemx =record-stopped,thread-group="@var{id}" +Execution log recording was either started or stopped on an +inferior. The @var{id} is the @value{GDBN} identifier of the thread +group corresponding to the affected inferior. + @item =cmd-param-changed,param=@var{param},value=@var{value} Reports that a parameter of the command @code{set @var{param}} is changed to @var{value}. In the multi-word @code{set} command, 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 |