From 91b7c7e522802371f07cf614e5e5b24c1911a6d8 Mon Sep 17 00:00:00 2001 From: Enze Li Date: Fri, 22 Oct 2021 14:30:30 +0000 Subject: [PATCH] Document "memory-tag-violations". * gdb/doc/gdb.texinfo: (Data): Document '-memory-tag-violations'. (Command Options): Update the example. --- ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 247deffb4c2..1aeef12e2d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-10-29 Eli Zaretskii + + * gdb/doc/gdb.texinfo (Command Options): (Data): Document + '-memory-tag-violations'. Update the example. + 2021-09-28 Andrew Burgess * src-release.sh (GDB_SUPPPORT_DIRS): Add libbacktrace. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d52cec0e5be..c1046662724 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}. -- 2.30.2