aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-02-24 07:38:00 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-02-24 07:38:00 +0000
commit4ec7539c2682054fcdd42632158234e80e15c850 (patch)
treec325497622a2035f2a9f055d432ee7e06854a5ba
parentba31713cdd7767af92953d90d2a326daeb94862b (diff)
downloadgdb-4ec7539c2682054fcdd42632158234e80e15c850.zip
gdb-4ec7539c2682054fcdd42632158234e80e15c850.tar.gz
gdb-4ec7539c2682054fcdd42632158234e80e15c850.tar.bz2
Revert the following patch (code patch was not approved):
2011-02-21 Hui Zhu <teawater@gmail.com> * agentexpr.texi (bytecode descriptions): add printf. * gdb.texinfo (tracepoint action lists): add printf.
-rw-r--r--gdb/doc/ChangeLog7
-rw-r--r--gdb/doc/agentexpr.texi7
-rw-r--r--gdb/doc/gdb.texinfo6
3 files changed, 7 insertions, 13 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3f91321..59cf1e4 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-24 Joel Brobecker <brobecker@adacore.com>
+
+ Revert the following patch (code patch was not approved):
+ 2011-02-21 Hui Zhu <teawater@gmail.com>
+ * agentexpr.texi (bytecode descriptions): add printf.
+ * gdb.texinfo (tracepoint action lists): add printf.
+
2011-02-23 Doug Evans <dje@google.com>
* gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}.
diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi
index 5a360df..f2d51b7 100644
--- a/gdb/doc/agentexpr.texi
+++ b/gdb/doc/agentexpr.texi
@@ -489,13 +489,6 @@ named @code{trace_quick16}, for consistency.
Record the value of trace state variable number @var{n} in the trace
buffer. The handling of @var{n} is as described for @code{getv}.
-@item @code{printf} (0x31) @var{n} @var{template}: @result{}
-Print the values in the stack under the control of the string template.
-The end of @var{template} is 0x00.
-If @var{n} is 0, just output the string template.
-If @var{n} is 1, pop a value from the stack and print it under the control
-of the string template.
-
@item @code{end} (0x27): @result{}
Stop executing bytecode; the result should be the top element of the
stack. If the purpose of the expression was to compute an lvalue or a
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 32d9b44..c727dc8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10242,12 +10242,6 @@ state variables (@pxref{Trace State Variables}) without adding those
values to the trace buffer, as would be the case if the @code{collect}
action were used.
-@kindex printf
-@item printf @var{template}, @var{expressions}@dots{}
-Print the values of one or more @var{expressions} under the control of
-the string @var{template} in @code{gdbserver} part.
-The command format is with simple @code{printf} (@pxref{Output, printf}).
-
@kindex while-stepping @r{(tracepoints)}
@item while-stepping @var{n}
Perform @var{n} single-step instruction traces after the tracepoint,