From: Tom Tromey <tom@tromey.com>
To: Stephan Rohr <stephan.rohr@intel.com>
Cc: gdb-patches@sourceware.org, keiths@redhat.com
Subject: Re: [PATCH v2 1/1] gdb: fix path expression for anonymous union members
Date: Wed, 14 Oct 2026 10:31:21 -0600 [thread overview]
Message-ID: <87tsmo2qhy.fsf@tromey.com> (raw)
In-Reply-To: <20261009132139.37218-2-stephan.rohr@intel.com> (Stephan Rohr's message of "Fri, 9 Oct 2026 13:21:39 +0000")
>>>>> "Stephan" == Stephan Rohr <stephan.rohr@intel.com> writes:
Stephan> Extract the required logic from cplus_describe_child and use it to get
Stephan> the correct index of the field within the parent type. With this change
Stephan> the path expression is computed correctly:
Stephan> interpret mi "-var-info-path-expression var1.public.1_anonymous.public.c"
Stephan> ^done,path_expr="((s).c)"
Looks good to me. Thank you for doing this.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
prev parent reply other threads:[~2026-10-14 16:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 13:21 [PATCH v2 0/1] " Stephan Rohr
2026-10-09 13:21 ` [PATCH v2 1/1] " Stephan Rohr
2026-10-09 17:59 ` Keith Seitz
2026-10-14 16:31 ` Tom Tromey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tsmo2qhy.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=keiths@redhat.com \
--cc=stephan.rohr@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox