This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Add support for setting disassembler-options in GDB for POWER, ARM and S390
On 11/18/16 9:37 AM, Eli Zaretskii wrote:
>> Cc: gdb-patches@sourceware.org, Ulrich Weigand <uweigand@de.ibm.com>, Pedro Alves <palves@redhat.com>, Alan Modra <amodra@gmail.com>, binutils <binutils@sourceware.org>
>> From: Peter Bergner <bergner@vnet.ibm.com>
>> Date: Fri, 18 Nov 2016 09:10:38 -0600
>>
>> +* New commands
>> +
>> +set disassembler-options
>> +show disassembler-options
>> + Controls the passing of target specific information to the disassembler.
>> + Only supported on some targets. If it is necessary to specify more than
>> + one disassembler option then multiple options can be placed together into
>> + a comma separated list. Default is ''.
>
> Thanks, but I think we should tell what systems support this.
Sure, how about the following?
Peter
diff --git a/gdb/NEWS b/gdb/NEWS
index a597405..54a6b7b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -36,6 +36,16 @@
Synopsys ARC arc*-*-elf32
+* New commands
+
+set disassembler-options
+show disassembler-options
+ Controls the passing of target specific information to the disassembler.
+ If it is necessary to specify more than one disassembler option then
+ multiple options can be placed together into a comma separated list.
+ Default is ''. Currently the only supported targets are ARM, PowerPC
+ and S/390.
+
*** Changes in GDB 7.12
* GDB and GDBserver now build with a C++ compiler by default.