aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-06-28 06:57:16 -0600
committerTom Tromey <tromey@adacore.com>2023-07-21 09:30:12 -0600
commit812e7caf60b11c1b9ed09f7d5eda47c2178005dc (patch)
tree83624516f3de4d3dfd0fe3be0504ce177275e696 /gdb/doc
parent83f362cf8f9539cefdd5df709a347a5396d23c76 (diff)
downloadgdb-812e7caf60b11c1b9ed09f7d5eda47c2178005dc.zip
gdb-812e7caf60b11c1b9ed09f7d5eda47c2178005dc.tar.gz
gdb-812e7caf60b11c1b9ed09f7d5eda47c2178005dc.tar.bz2
Add instruction bytes to DAP disassembly response
The DAP disassemble command lets the client return the underlying bytes of the instruction in an implementation-defined format. This patch updates gdb to return this, and simply uses a hex string of the bytes as the format. Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index cd86da5..1463f50 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -39097,6 +39097,11 @@ The target to which @value{GDBN} should connect. This is a string and
is passed to the @code{target remote} command. @xref{Connecting}.
@end table
+In response to the @code{disassemble} request, DAP allows the client
+to return the bytes of each instruction in an implementation-defined
+format. @value{GDBN} implements this by sending a string with the
+bytes encoded in hex, like @code{"55a2b900"}.
+
@node JIT Interface
@chapter JIT Compilation Interface
@cindex just-in-time compilation