binutils-gdb/gdb/python
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
..
lib/gdb Implement repl evaluation for DAP 2023-03-24 10:05:51 -06:00
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c Remove ALL_BLOCK_SYMBOLS_WITH_NAME 2023-02-19 12:51:06 -07:00
py-bpevent.c
py-breakpoint.c gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
py-cmd.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
py-connection.c
py-continueevent.c
py-dap.c Simplify interp::exec / interp_exec - let exceptions propagate 2023-02-08 17:28:42 +00:00
py-disasm.c gdb/python: replace strlen call with std::string::size call 2023-03-03 09:56:21 +00:00
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
py-frame.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-framefilter.c Turn value_type into method 2023-02-13 15:21:06 -07:00
py-function.c
py-gdb-readline.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-inferior.c Turn remaining value_contents functions into methods 2023-02-13 15:22:16 -07:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-linetable.c Constify linetables 2023-03-11 08:48:10 -07:00
py-membuf.c
py-micmd.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
py-newobjfileevent.c
py-objfile.c
py-param.c
py-prettyprint.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-progspace.c
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-registers.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-symtab.c
py-threadevent.c
py-tui.c gdb/python: Fix --disable-tui build 2023-03-06 17:31:57 +01:00
py-type.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-unwind.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-utils.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-value.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-varobj.c
py-xmethods.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
python-config.py
python-internal.h gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
python.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
python.h