diff options
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 | ||||
-rw-r--r-- | gdb/doc/observer.texi | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c33445a..2e726e5 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +2012-10-17 Yao Qi <yao@codesourcery.com> + + * observer.texi (GDB Observers): Update observer + 'memory_changed'. + * gdb.texinfo (GDB/MI Async Records): Document for + "memory-changed" notification. + 2012-10-15 Doug Evans <dje@google.com> * gdb.texinfo (Mode Options): Document -nh. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index aed2556..0c7aa1c 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27697,6 +27697,13 @@ changed to @var{value}. In the multi-word @code{set} command, the @var{param} is the whole parameter list to @code{set} command. For example, In command @code{set check type on}, @var{param} is @code{check type} and @var{value} is @code{on}. + +@item =memory-changed,thread-group=@var{id},addr=@var{addr},len=@var{len}[,type="code"] +Reports that bytes from @var{addr} to @var{data} + @var{len} were +written in an inferior. The @var{id} is the identifier of the +thread group corresponding to the affected inferior. The optional +@code{type="code"} part is reported if the memory written to holds +executable code. @end table @node GDB/MI Frame Information diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index 3fdc90a..106475b 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -230,9 +230,9 @@ The inferior @var{inf} has been removed from the list of inferiors. This method is called immediately before freeing @var{inf}. @end deftypefun -@deftypefun void memory_changed (CORE_ADDR @var{addr}, ssize_t @var{len}, const bfd_byte *@var{data}) +@deftypefun void memory_changed (struct inferior *@var{inferior}, CORE_ADDR @var{addr}, ssize_t @var{len}, const bfd_byte *@var{data}) Bytes from @var{data} to @var{data} + @var{len} have been written -to the current inferior at @var{addr}. +to the @var{inferior} at @var{addr}. @end deftypefun @deftypefun void before_prompt (const char *@var{current_prompt}) |