Reimplement DAP stack traces using frame filters
authorTom Tromey <tromey@adacore.com>
Wed, 14 Jun 2023 12:09:23 +0000 (06:09 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 10 Jul 2023 19:17:30 +0000 (13:17 -0600)
commit5b86f10883d37e46aeeafa2818e227737d068dff
tree73eb2ca4ca737742fa8b253a887e112fed568b28
parentf921fe93188991bf20fa2b9b5e7de6e591097b72
Reimplement DAP stack traces using frame filters

This reimplements DAP stack traces using frame filters.  This slightly
simplifies the code, because frame filters and DAP were already doing
some similar work.  This also renames RegisterReference and
ScopeReference to make it clear that these are private (and so changes
don't have to worry about other files).

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30468
gdb/python/lib/gdb/dap/bt.py
gdb/python/lib/gdb/dap/evaluate.py
gdb/python/lib/gdb/dap/frames.py
gdb/python/lib/gdb/dap/scopes.py
gdb/testsuite/gdb.dap/scopes.c