Handle DAP evaluate request without a frame ID
authorTom Tromey <tromey@adacore.com>
Fri, 28 Apr 2023 15:14:09 +0000 (09:14 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 23 May 2023 20:17:15 +0000 (14:17 -0600)
commitef7a143133f235246052217fa4d43e22a63cb6b3
treeceaa1a5d540f5cd49e8a9e43c5854e73f9ecd289
parent125862f0f220f631a184599ea7c9ff7efbea9044
Handle DAP evaluate request without a frame ID

DAP specifies that if an evaluate request does not have a frameID
parameter, then the expression is evaluated in the global scope.
gdb/python/lib/gdb/dap/evaluate.py
gdb/testsuite/gdb.dap/frameless.c [new file with mode: 0644]
gdb/testsuite/gdb.dap/frameless.exp [new file with mode: 0644]