binutils-gdb/gdb/python/lib/gdb
Tom Tromey 84bc96de16 Implement repl evaluation for DAP
The evaluate command supports a "context" parameter which tells the
adapter the context in which an evaluation occurs.  One of the
supported values is "repl", which we took to mean evaluation of a gdb
command.  That is what this patch implements.

Note that some gdb commands probably will not work correctly with the
rest of the protocol.  For example if the user types "continue",
confusion may result.

This patch requires the earlier patch to fix up scopes in DAP.
2023-03-24 10:05:51 -06:00
..
command gdb: reformat Python files with black 23.1.0 2023-02-27 13:28:32 -05:00
dap Implement repl evaluation for DAP 2023-03-24 10:05:51 -06:00
function Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
printer Remove unused imports from gdb's Python code 2023-02-13 10:22:48 -07:00
__init__.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
disassembler.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
FrameDecorator.py gdb: reformat Python files with black 23.1.0 2023-02-27 13:28:32 -05:00
FrameIterator.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
frames.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
printing.py Fix formatting in gdb/printing.py 2023-03-15 13:14:14 -06:00
prompt.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
styling.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
types.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
unwinder.py Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
xmethod.py Remove unused imports from gdb's Python code 2023-02-13 10:22:48 -07:00