From: Tom Tromey <tromey@adacore.com>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org, Simon Marchi <simon.marchi@efficios.com>
Subject: Re: [PATCH v2] Treat attributes as code in DWARF assembler
Date: Tue, 16 Sep 2025 09:23:36 -0600 [thread overview]
Message-ID: <87bjnamnev.fsf@tromey.com> (raw)
In-Reply-To: <20250908154930.822046-1-tromey@adacore.com> (Tom Tromey's message of "Mon, 8 Sep 2025 09:49:30 -0600")
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:
Tom> The DWARF assembler treats the 'children' of a DIE as plain Tcl code,
Tom> evaluating it in the parent context.
Tom> I don't recall why, but when I wrote this code, I didn't do the same
Tom> thing for the attributes. Instead, there I implemented a special
Tom> syntax. I was looking at this today and wondered why I didn't just
Tom> use ordinary evaluation as well.
Tom> This patch implements this idea.
I'm checking this in now. I rebased it and re-ran the regression tests.
And, I grepped the gdb.log to make sure there weren't any new Tcl
errors. However, I find this process to be a bit error-prone -- so if
you find that I have missed something, please let me know and I will fix
it.
Tom
next prev parent reply other threads:[~2025-09-16 15:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 15:49 Tom Tromey
2025-09-16 15:23 ` Tom Tromey [this message]
2025-09-16 15:24 ` 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=87bjnamnev.fsf@tromey.com \
--to=tromey@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@efficios.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