From: Hui Zhu Date: Thu, 5 Jul 2012 01:08:24 +0000 (+0000) Subject: 2012-07-05 Hui Zhu X-Git-Tag: gdb_7_5-2012-07-18-branchpoint~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c;p=thirdparty%2Fbinutils-gdb.git 2012-07-05 Hui Zhu * gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval". --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f6367a0d474..4846f8c039a 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 8efcdc99619..a92df868934 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},...