[binutils-gdb] gdb/doc: improve description of --data-disassemble opcodes output

Andrew Burgess aburgess@sourceware.org
Wed Jun 29 12:54:45 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6c0fe6d8f963eee3da16bf4895b1c592596240ff

commit 6c0fe6d8f963eee3da16bf4895b1c592596240ff
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Wed Jun 22 11:39:00 2022 +0100

    gdb/doc: improve description of --data-disassemble opcodes output
    
    Extend the description of the MI command --data-disassemble.
    Specifically, expand the description of the 'opcodes' field to explain
    how the bytes are formatted.

Diff:
---
 gdb/doc/gdb.texinfo | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 38ae249f62d..5dbae6d0106 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -34454,8 +34454,10 @@ The decimal offset in bytes from the start of @samp{func-name}.
 The text disassembly for this @samp{address}.
 
 @item opcodes
-This field is only present for modes 2, 3 and 5.  This contains the raw opcode
-bytes for the @samp{inst} field.
+This field is only present for modes 2, 3 and 5.  This contains the
+raw opcode bytes for the @samp{inst} field.  The bytes are formatted
+as single bytes, in hex, in ascending address order, with a single
+space between each byte.
 
 @end table


More information about the Gdb-cvs mailing list