aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2012-07-05 01:08:24 +0000
committerHui Zhu <teawater@gmail.com>2012-07-05 01:08:24 +0000
commitf77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c (patch)
treede41aceac6b1115f4b40a182544a4fa863436653 /gdb
parent34b536a803d4ba203cb1e670ca97b2cb1131946f (diff)
downloadgdb-f77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c.zip
gdb-f77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c.tar.gz
gdb-f77cc5f048e7b5dcfd3e2f864ba6543d6ad98d3c.tar.bz2
2012-07-05 Hui Zhu <hui_zhu@mentor.com>
* gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 9 insertions, 2 deletions
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 <hui_zhu@mentor.com>
+
+ * gdb.texinfo (Maintenance Commands): Change help for "maint agent"
+ and "maint agent-eval".
+
2012-07-03 Eli Zaretskii <eliz@gnu.org>
* 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},...