aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-07-02 10:43:51 -0600
committerTom Tromey <tromey@adacore.com>2024-07-23 11:31:49 -0600
commitc51fb386792206f12459b22bf7eec8345c4886a6 (patch)
treecbcd572e8ca66ff6418fa36177f7e567e72cd582 /gdb/NEWS
parentfa8c46f5adeddedc492534302057deb7fcf1939a (diff)
downloadfsf-binutils-gdb-c51fb386792206f12459b22bf7eec8345c4886a6.zip
fsf-binutils-gdb-c51fb386792206f12459b22bf7eec8345c4886a6.tar.gz
fsf-binutils-gdb-c51fb386792206f12459b22bf7eec8345c4886a6.tar.bz2
Add returnValue scope to DAP
The DAP spec recently changed to add a new scope for the return value from a "stepOut" request. This new scope uses the "returnValue" presentation hint. See: https://github.com/microsoft/debug-adapter-protocol/issues/458 This patch implements this for gdb. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31945 Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index b56ba9b..9a5543c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -8,6 +8,10 @@
** The "scopes" request will now return a scope holding global
variables from the stack frame's compilation unit.
+ ** The "scopes" request will return a "returnValue" scope holding
+ the return value from the latest "stepOut" command, when
+ appropriate.
+
* For ARM targets, the offset of the pc in the jmp_buf has been fixed to match
glibc 2.20 and later. This should only matter when not using libc probes.
This may cause breakage when using an incompatible libc, like uclibc or