Simplify DAP make_source callers
commit4b09134a09ea6663850091c6a8da614cf3902fe1
authorTom Tromey <tromey@adacore.com>
Wed, 24 Apr 2024 15:53:55 +0000 (24 09:53 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 10 May 2024 18:09:32 +0000 (10 12:09 -0600)
tree8306076816f95a49df56533b10f0ee6cfedddcd4
parent674dea05e3bf2a4b68820adfa4f9e9510b4c1c8c
Simplify DAP make_source callers

A couple callers of make_source call basename by hand.  Rather than
add another caller like this, I thought it would be better to put this
ability into make_source itself.
gdb/python/lib/gdb/dap/breakpoint.py
gdb/python/lib/gdb/dap/bt.py
gdb/python/lib/gdb/dap/sources.py