Implement DAP variables, scopes, and evaluate requests
The DAP code already claimed to implement "scopes" and "evaluate", but this wasn't done completely correctly. This patch implements these and also implements the "variables" request. After this patch, variables and scopes correctly report their sub-structure. This also interfaces with the gdb pretty-printer API, so the output of pretty-printers is available.
Showing
- gdb/data-directory/Makefile.in 1 addition, 0 deletionsgdb/data-directory/Makefile.in
- gdb/python/lib/gdb/dap/evaluate.py 30 additions, 8 deletionsgdb/python/lib/gdb/dap/evaluate.py
- gdb/python/lib/gdb/dap/scopes.py 48 additions, 13 deletionsgdb/python/lib/gdb/dap/scopes.py
- gdb/python/lib/gdb/dap/varref.py 178 additions, 0 deletionsgdb/python/lib/gdb/dap/varref.py
- gdb/python/lib/gdb/printing.py 66 additions, 0 deletionsgdb/python/lib/gdb/printing.py
- gdb/testsuite/gdb.dap/scopes.c 35 additions, 0 deletionsgdb/testsuite/gdb.dap/scopes.c
- gdb/testsuite/gdb.dap/scopes.exp 101 additions, 0 deletionsgdb/testsuite/gdb.dap/scopes.exp
Loading
Please register or sign in to comment