Re: [PATCH v2 6/9] gdb: Add command option 'bt -shadow' to print the shadow stack backtrace.

Eli Zaretskii
2026-04-14T14:13:07Z

> From: "Schimpe, Christina" <christina.schimpe@intel.com>
> CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
> "thiago.bauermann@linaro.org" <thiago.bauermann@linaro.org>
> Date: Tue, 14 Apr 2026 13:28:52 +0000
>
> > > This avoids triggering a warning. However, since none of the other
> > > AArch64 or
> > > x86 subsubsections currently have nodes, I believe we should add nodes
> > > for them and update the menu accordingly:
> >
> > There's no need to add a node for each subsubsection.
>
> Won't this help us to navigate using 'previous' and 'next' etc. when using "info gdb" ?

It might, but with subsubsections that are not too large, is that a
real need? It's up to you, of course, so if you want to add nodes, go
ahead. Just make sure to create/update the menus accordingly.

> > In fact, I'm not sure I
> > understand why you wanted to add the two @node's that give you trouble,
> > can you explain?
>
> You mean the nodes for CET and GCS?
>
> If I don't add them, I'll see
> ~~~
> gdb.texinfo:8801: @pxref reference to nonexistent node `CET'
> gdb.texinfo:8822: @pxref reference to nonexistent node `CET'

You can use @anchor to have a place to refer to in a cross-reference.