public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb/doc: add missing documents of "memory-tag-violations"
@ 2021-10-22 14:30 Enze Li
  2021-10-22 16:21 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Enze Li @ 2021-10-22 14:30 UTC (permalink / raw)
  To: gdb-patches

This patch supplements the "memory-tag-violations" related document
description, including the "Command options" and "Examining Data"
parts.
---
 gdb/doc/gdb.texinfo | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 631a7c03b31..a73c2f7fd57 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.33.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gdb/doc: add missing documents of "memory-tag-violations"
  2021-10-22 14:30 [PATCH] gdb/doc: add missing documents of "memory-tag-violations" Enze Li
@ 2021-10-22 16:21 ` Eli Zaretskii
  2021-10-23  6:08   ` Enze Li
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2021-10-22 16:21 UTC (permalink / raw)
  To: Enze Li; +Cc: gdb-patches

> Date: Fri, 22 Oct 2021 22:30:30 +0800
> From: Enze Li via Gdb-patches <gdb-patches@sourceware.org>
> 
> This patch supplements the "memory-tag-violations" related document
> description, including the "Command options" and "Examining Data"
> parts.
> ---
>  gdb/doc/gdb.texinfo | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)

Thanks, this is okay.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gdb/doc: add missing documents of "memory-tag-violations"
  2021-10-22 16:21 ` Eli Zaretskii
@ 2021-10-23  6:08   ` Enze Li
  2021-10-29 10:34     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Enze Li @ 2021-10-23  6:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

On Fri, 2021-10-22 at 12:21 -0400, Eli Zaretskii wrote:
> > Date: Fri, 22 Oct 2021 22:30:30 +0800
> > From: Enze Li via Gdb-patches <gdb-patches@sourceware.org>
> > 
> > This patch supplements the "memory-tag-violations" related document
> > description, including the "Command options" and "Examining Data"
> > parts.
> > ---
> >  gdb/doc/gdb.texinfo | 12 ++++++++----
> >  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> Thanks, this is okay.

Thank you for the review!
BTW, I don't have commit access, could you please help me to push the
patch?

Thanks,
Enze

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gdb/doc: add missing documents of "memory-tag-violations"
  2021-10-23  6:08   ` Enze Li
@ 2021-10-29 10:34     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2021-10-29 10:34 UTC (permalink / raw)
  To: Enze Li; +Cc: gdb-patches

> From: Enze Li <lienze2010@hotmail.com>
> Cc: gdb-patches@sourceware.org
> Date: Sat, 23 Oct 2021 14:08:00 +0800
> 
> > > This patch supplements the "memory-tag-violations" related document
> > > description, including the "Command options" and "Examining Data"
> > > parts.
> > > ---
> > >  gdb/doc/gdb.texinfo | 12 ++++++++----
> > >  1 file changed, 8 insertions(+), 4 deletions(-)
> > 
> > Thanks, this is okay.
> 
> Thank you for the review!
> BTW, I don't have commit access, could you please help me to push the
> patch?

Done.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-29 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 14:30 [PATCH] gdb/doc: add missing documents of "memory-tag-violations" Enze Li
2021-10-22 16:21 ` Eli Zaretskii
2021-10-23  6:08   ` Enze Li
2021-10-29 10:34     ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).