Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: Tom Tromey <tromey@adacore.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH] Use fully-qualified name in var_decl_name
Date: Fri, 01 May 2026 11:43:40 -0600	[thread overview]
Message-ID: <87ecjvgh4j.fsf@tromey.com> (raw)
In-Reply-To: <87wlxw1o0p.fsf@redhat.com> (Andrew Burgess's message of "Fri, 24 Apr 2026 14:33:26 +0100")

>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:

>> This patch changes var_decl_name to use the correct full name for the
>> variable.

Andrew> I took a crack at writing a DWARF assembler test for this, which I've
Andrew> included below.

Andrew> I think it would be a good idea if a test was included with this patch.

Ok, I feel a little bad that you did this.  I didn't write a test for
the initial patch because I felt it was already covered by gnat-llvm
testing.

However I get that it's better to have a pure test for this.  Anyway
it's always fine to push back -- I would be fine writing a test.

So, thanks, and also sorry.

Andrew> Feel free to use what I've written, or change it as needed.  Or write
Andrew> your own if this isn't suitable.

Andrew> If the test below is OK, then:

I verified that the test fails without the patch and passes with it, and
also read the test & think it's fine.  So I'm including it.

Tom

      reply	other threads:[~2026-05-01 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-23 19:01 Tom Tromey
2026-04-24 13:33 ` Andrew Burgess
2026-05-01 17:43   ` 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=87ecjvgh4j.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=aburgess@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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