From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: Tom Tromey <tom@tromey.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH 1/3] [gdb/contrib] Fix KeyError in dwarf-to-dwarf-assembler.py
Date: Wed, 10 Jun 2026 07:23:49 -0600 [thread overview]
Message-ID: <87fr2uedga.fsf@tromey.com> (raw)
In-Reply-To: <0e805260-a13a-441b-a4cf-3a6a2b703eed@suse.de> (Tom de Vries's message of "Wed, 10 Jun 2026 09:57:33 +0200")
Tom> The question is whether there are cases where DW_FORM_block* is used
Tom> instead of DW_FORM_exprloc.
Yeah.
Tom> At least our testsuite does so, for something like this:
Tom> ...
Tom> DW_AT_location {} DW_FORM_block1
Tom> ...
I don't recall, maybe that was ok in older versions of DWARF.
I think DWARF 5 says to use exprloc here.
Tom
next prev parent reply other threads:[~2026-06-10 13:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-08 12:54 [PATCH 0/3] [gdb/contrib] Some dwarf-to-dwarf-assembler.py fixes Tom de Vries
2026-06-08 12:54 ` [PATCH 1/3] [gdb/contrib] Fix KeyError in dwarf-to-dwarf-assembler.py Tom de Vries
2026-06-09 17:04 ` Tom Tromey
2026-06-10 7:57 ` Tom de Vries
2026-06-10 13:23 ` Tom Tromey [this message]
2026-06-08 12:54 ` [PATCH 2/3] [gdb/contrib] Fix UnicodeDecodeError " Tom de Vries
2026-06-09 17:07 ` Tom Tromey
2026-06-10 9:12 ` Tom de Vries
2026-06-08 12:54 ` [PATCH 3/3] [gdb/contrib] Fix ELFParseError " Tom de Vries
2026-06-08 13:18 ` Tom de Vries
2026-06-09 17:08 ` 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=87fr2uedga.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/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