From: Stephan Rohr <stephan.rohr@intel.com>
To: gdb-patches@sourceware.org
Cc: keiths@redhat.com
Subject: [PATCH v2 0/1] gdb: fix path expression for anonymous union members
Date: Fri, 9 Oct 2026 13:21:38 +0000 [thread overview]
Message-ID: <20261009132139.37218-1-stephan.rohr@intel.com> (raw)
From: "Rohr, Stephan" <stephan.rohr@intel.com>
Hi Keith,
thanks for your feedback.
I extended the heuristics based on your feedback.
Changes since v1:
- Updated the heuristic in mi-support.exp to handle the case of a
member with type == name correctly. Added a regression test for this
case.
Thanks
Stephan
Bobko, Sergey (1):
gdb: fix path expression for anonymous union members
gdb/c-varobj.c | 89 +++++++++++++++++++-----------
gdb/testsuite/gdb.mi/mi-var-cp.cc | 22 +++++++-
gdb/testsuite/gdb.mi/mi-var-cp.exp | 22 ++++++++
gdb/testsuite/lib/mi-support.exp | 18 +++++-
4 files changed, 118 insertions(+), 33 deletions(-)
--
2.43.0
________________________________________
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 (89) 99143-0
www.intel.de
Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman
Chairperson of the Supervisory Board: Sonja Pierer
Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
next reply other threads:[~2026-10-09 13:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 13:21 Stephan Rohr [this message]
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
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=20261009132139.37218-1-stephan.rohr@intel.com \
--to=stephan.rohr@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=keiths@redhat.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