From: Tom Tromey <tom@tromey.com>
To: Gregory Anders via Gdb-patches <gdb-patches@sourceware.org>
Cc: Gregory Anders <greg@gpanders.com>
Subject: Re: [PATCH 3/4] gdb/dap: use breakpoint fullname to resolve source
Date: Fri, 01 Sep 2023 13:08:05 -0600 [thread overview]
Message-ID: <87o7ilogoa.fsf@tromey.com> (raw)
In-Reply-To: <20230901180323.22328-9-greg@gpanders.com> (Gregory Anders via Gdb-patches's message of "Fri, 1 Sep 2023 12:55:39 -0500")
>>>>> Gregory Anders via Gdb-patches <gdb-patches@sourceware.org> writes:
> If the breakpoint has a fullname, use that as the source path when
> resolving the breakpoint source information. This is consistent with
> other callers of make_source which also use "fullname" if it exists (see
> e.g. DAPFrameDecorator which returns the symtab's fullname).
Thank you.
How did you find this? I'm wondering if a test case is possible.
Tom
next prev parent reply other threads:[~2023-09-01 22:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 17:55 [PATCH 0/4] DAP fixups Gregory Anders
2023-09-01 17:55 ` [PATCH 1/4] gdb/dap: check for breakpoint source before unpacking Gregory Anders
2023-09-01 19:05 ` Tom Tromey
2023-09-01 19:18 ` Gregory Anders
2023-09-01 17:55 ` [PATCH 2/4] gdb/dap: ignore unused keyword args in step_out Gregory Anders
2023-09-01 19:07 ` Tom Tromey
2023-09-05 14:12 ` Gregory Anders
2023-09-01 17:55 ` [PATCH 3/4] gdb/dap: use breakpoint fullname to resolve source Gregory Anders
2023-09-01 19:08 ` Tom Tromey [this message]
2023-09-05 14:08 ` Gregory Anders
2023-09-01 17:55 ` [PATCH 4/4] gdb/dap: only include sourceReference if file path does not exist Gregory Anders
2023-09-01 19:42 ` Tom Tromey
2023-09-01 21:42 ` Gregory Anders
2023-09-01 21:56 ` Gregory Anders
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=87o7ilogoa.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=greg@gpanders.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).