aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnze Li <lienze2010@hotmail.com>2021-10-22 14:30:30 +0000
committerEli Zaretskii <eliz@gnu.org>2021-10-29 13:31:37 +0300
commit91b7c7e522802371f07cf614e5e5b24c1911a6d8 (patch)
tree8adbc4a42d03ab592bfc3b5590ce6be52b9adee8
parent09854a8870e63bd0d976d4d0dd7bd6b9b91348b1 (diff)
downloadgdb-91b7c7e522802371f07cf614e5e5b24c1911a6d8.zip
gdb-91b7c7e522802371f07cf614e5e5b24c1911a6d8.tar.gz
gdb-91b7c7e522802371f07cf614e5e5b24c1911a6d8.tar.bz2
Document "memory-tag-violations".
* gdb/doc/gdb.texinfo: (Data): Document '-memory-tag-violations'. (Command Options): Update the example.
-rw-r--r--ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo12
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 247deff..1aeef12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-10-29 Eli Zaretskii <eliz@gnu.org>
+
+ * gdb/doc/gdb.texinfo (Command Options): (Data): Document
+ '-memory-tag-violations'. Update the example.
+
2021-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
* src-release.sh (GDB_SUPPPORT_DIRS): Add libbacktrace.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d52cec0..c104666 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2141,10 +2141,10 @@ on @code{-} after the command name. For example:
@smallexample
(@value{GDBP}) print -@key{TAB}@key{TAB}
--address -max-depth -raw-values -union
--array -null-stop -repeats -vtbl
--array-indexes -object -static-members
--elements -pretty -symbol
+-address -max-depth -pretty -symbol
+-array -memory-tag-violations -raw-values -union
+-array-indexes -null-stop -repeats -vtbl
+-elements -object -static-members
@end smallexample
Completion will in some cases guide you with a suggestion of what kind
@@ -10003,6 +10003,10 @@ Set limit on string chars or array elements to print. The value
Set the threshold after which nested structures are replaced with
ellipsis. Related setting: @ref{set print max-depth}.
+@item -memory-tag-violations [@code{on}|@code{off}]
+Set printing of additional information about memory tag violations.
+@xref{set print memory-tag-violations}.
+
@item -null-stop [@code{on}|@code{off}]
Set printing of char arrays to stop at first null char. Related
setting: @ref{set print null-stop}.