public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "dblaikie at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/15502] DW_AT_decl_line ignored in DW_TAG_imported_declaration
Date: Tue, 17 Jan 2023 19:30:05 +0000	[thread overview]
Message-ID: <bug-15502-4717-zuPhTF9HRD@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15502-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=15502

--- Comment #3 from David Blaikie <dblaikie at gmail dot com> ---
(In reply to Tom Tromey from comment #2)
> Maybe this series:
> https://sourceware.org/pipermail/gdb-patches/2023-January/195333.html

Yeah, that sounds OK. Doesn't produce the same behavior as the compiler - which
resolves to the closer declaration - but lines could be incorrect/ambiguous
anyway (#included code and other situations that lead to lines not being
strictly increasing or in the scope order, etc - or two using decls on the same
line, etc). 

Certainly an improvement, in any case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      parent reply	other threads:[~2023-01-17 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 16:56 [Bug c++/15502] New: " dblaikie at gmail dot com
2013-05-20 16:58 ` [Bug c++/15502] " dblaikie at gmail dot com
2023-01-14 19:27 ` tromey at sourceware dot org
2023-01-17 19:30 ` dblaikie at gmail dot com [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=bug-15502-4717-zuPhTF9HRD@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).