Implement DAP register scope
authorTom Tromey <tromey@adacore.com>
Thu, 13 Apr 2023 17:24:02 +0000 (11:24 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 12 May 2023 18:22:31 +0000 (12:22 -0600)
commit14e8fded85efa824e6652ed876229e5c24758b72
treeed9462405edac4865e0e9fee4a994c04a260b0e3
parent61f9fb1ea4aab3cd42bfcaaee2a05ac0dbe18a22
Implement DAP register scope

I noticed that gdb's DAP code did not provide a way to see register
values.  DAP defines a "register" scope, which this patch implements.
This patch also adds the missing (and optional) "presentationHint" to
scopes.
gdb/python/lib/gdb/dap/scopes.py
gdb/testsuite/gdb.dap/scopes.exp