Add readMemory and writeMemory requests to DAP
authorTom Tromey <tromey@adacore.com>
Thu, 2 Mar 2023 20:51:17 +0000 (13:51 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 3 Apr 2023 14:47:52 +0000 (08:47 -0600)
commitd466f7492eccccb0f3c0936c12b5b140e139e353
tree714cdf293c6cffff54ba065ce530cf349fb21045
parent60a13bbcdfb0ce008a77563cea0c34c830d7b170
Add readMemory and writeMemory requests to DAP

This adds the DAP readMemory and writeMemory requests.  A small change
to the evaluation code is needed in order to test this -- this is one
of the few ways for a client to actually acquire a memory reference.
gdb/data-directory/Makefile.in
gdb/python/lib/gdb/dap/__init__.py
gdb/python/lib/gdb/dap/memory.py [new file with mode: 0644]
gdb/python/lib/gdb/dap/varref.py
gdb/testsuite/gdb.dap/memory.c [new file with mode: 0644]
gdb/testsuite/gdb.dap/memory.exp [new file with mode: 0644]