From f77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Thu, 5 Jul 2012 01:08:24 +0000 Subject: 2012-07-05 Hui Zhu * gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'gdb') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f6367a0..4846f8c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2012-07-05 Hui Zhu + + * gdb.texinfo (Maintenance Commands): Change help for "maint agent" + and "maint agent-eval". + 2012-07-03 Eli Zaretskii * gdb.texinfo: Separate the index into 2 indices, cp and fn, to diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8efcdc9..a92df86 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -34466,8 +34466,8 @@ messages, see @ref{Debugging Output}.) @table @code @kindex maint agent @kindex maint agent-eval -@item maint agent @var{expression} -@itemx maint agent-eval @var{expression} +@item maint agent @r{[}-at @var{location}@r{,}@r{]} @var{expression} +@itemx maint agent-eval @r{[}-at @var{location}@r{,}@r{]} @var{expression} Translate the given @var{expression} into remote agent bytecodes. This command is useful for debugging the Agent Expression mechanism (@pxref{Agent Expressions}). The @samp{agent} version produces an @@ -34478,6 +34478,8 @@ globb} will include bytecodes to record four bytes of memory at each of the addresses of @code{globa} and @code{globb}, while discarding the result of the addition, while an evaluation expression will do the addition and return the sum. +If @code{-at} is given, generate remote agent bytecode for @var{location}. +If not, generate remote agent bytecode for current frame PC address. @kindex maint agent-printf @item maint agent-printf @var{format},@var{expr},... -- cgit v1.1