Fix result of DAP setExpression
authorTom Tromey <tromey@adacore.com>
Wed, 21 Jun 2023 12:23:20 +0000 (06:23 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 7 Jul 2023 19:56:52 +0000 (13:56 -0600)
commitde5dfbe91cbc60b41eec08089192eb1d16bbb749
treea4c6c7501b9e9401e08c9f2d9fc23fd85c8e9afc
parent73aa9ef81be869176814cac635723e920f7ca612
Fix result of DAP setExpression

A co-worker, Andry, noticed that the DAP setExpression implementation
returned the wrong fields -- it used "result" rather than "value", and
included "memoryReference", which isn't in the spec (an odd oversight,
IMO).

This patch fixes the problems.
gdb/python/lib/gdb/dap/evaluate.py
gdb/testsuite/gdb.dap/basic-dap.exp