aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorFelix Willgerodt <felix.willgerodt@intel.com>2019-02-21 10:48:35 +0100
committerFelix Willgerodt <felix.willgerodt@intel.com>2024-08-14 11:20:56 +0200
commitbea4f6fac4e0b1700188fad19499c62c46f8e70d (patch)
treed9d3efc032df5a97f253a863f2a5c602122493ec /gdb/doc
parentd5e1495d99e2a0962b69d673a8a336501a6ec5fa (diff)
downloadgdb-bea4f6fac4e0b1700188fad19499c62c46f8e70d.zip
gdb-bea4f6fac4e0b1700188fad19499c62c46f8e70d.tar.gz
gdb-bea4f6fac4e0b1700188fad19499c62c46f8e70d.tar.bz2
python: Introduce gdb.RecordAuxiliary class.
Auxiliary instructions are no real instructions and get their own object class, similar to gaps. gdb.Record.instruction_history is now possibly a list of gdb.RecordInstruction, gdb.RecordGap or gdb.RecordAuxiliary objects. This patch is in preparation for the new ptwrite feature, which is based on auxiliary instructions. Approved-By: Markus Metzger <markus.t.metzger@intel.com> Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/python.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 86ccc14..05e5059 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -4369,6 +4369,19 @@ the current recording method.
A human readable string with the reason for the gap.
@end defvar
+Some @value{GDBN} features write auxiliary information into the execution
+history. This information is represented by a @code{gdb.RecordAuxiliary} object
+in the instruction list. It has the following attributes:
+
+@defvar RecordAuxiliary.@var{number}
+An integer identifying this auxiliary. @var{number} corresponds to the numbers
+seen in @code{record instruction-history} (@pxref{Process Record and Replay}).
+@end defvar
+
+@defvar RecordAuxiliary.data
+A string representation of the auxiliary data.
+@end defvar
+
A @code{gdb.RecordFunctionSegment} object has the following attributes:
@defvar RecordFunctionSegment.number