From: Tom de Vries <tdevries@suse.de>
To: Will Hawkins <hawkinsw@obs.cr>, gdb-patches@sourceware.org
Subject: Re: [PATCH v5] gdb: Support embedded source in DWARF
Date: Fri, 12 Apr 2024 22:12:29 +0200 [thread overview]
Message-ID: <ffaf12e9-e67f-492f-9b2c-a0e951d57b3b@suse.de> (raw)
In-Reply-To: <20240412185525.171292-1-hawkinsw@obs.cr>
On 4/12/24 20:55, Will Hawkins wrote:
> + DW_LNE_set_address main_end
> + line [gdb_get_line_number "main end"]
> + DW_LNS_copy
> +
> + DW_LNE_end_sequence
> + }
I've just submitted a patch series designed to catch this (
https://sourceware.org/pipermail/gdb-patches/2024-April/207922.html ).
The copy produces a line table entry with empty address range (because
the end_sequence is at the same address),.
This is probably not what you intended.
Thanks,
- Tom
next prev parent reply other threads:[~2024-04-12 20:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 18:55 Will Hawkins
2024-04-12 20:12 ` Tom de Vries [this message]
2024-04-14 2:50 ` Will Hawkins
2024-04-14 7:01 ` Tom de Vries
2024-04-14 7:15 ` Will Hawkins
2024-04-15 16:13 ` Will Hawkins
2024-04-19 20:17 ` Tom Tromey
2024-04-26 6:12 ` Will Hawkins
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=ffaf12e9-e67f-492f-9b2c-a0e951d57b3b@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
--cc=hawkinsw@obs.cr \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).