gdb/dap: use breakpoint fullname to resolve source
authorGregory Anders <greg@gpanders.com>
Fri, 1 Sep 2023 21:02:19 +0000 (16:02 -0500)
committerTom Tromey <tromey@adacore.com>
Wed, 20 Sep 2023 16:59:43 +0000 (10:59 -0600)
commit61830fcb31d9b66c7af76eefc152b66a170fb49c
treecb5e2487dfce76343cc395dc899e5e9e42955fed
parentd2266b2305c18538eddeb22fd89496910c8c4377
gdb/dap: use breakpoint fullname to resolve source

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).

Approved-By: Tom Tromey <tom@tromey.com>
gdb/python/lib/gdb/dap/breakpoint.py