From 6c0fe6d8f963eee3da16bf4895b1c592596240ff Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 22 Jun 2022 11:39:00 +0100 Subject: [PATCH] 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. --- 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 -- 2.30.2