This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, RFC] Add support for choosing disassembler cpu in GDB for POWER.


On 11/3/16 11:41 AM, Ulrich Weigand wrote:
I think more in line with other options would be to just output
the empty string if the option is not (yet) set:

(gdb) show sysroot
The current system root is "".
(gdb) show args
Argument list to give program being debugged when it is started is "".


This would also match the behavior that by just using
   set disassembler-options
without argument you can get back to that original setting.

Ok, I have made that change locally.

Peter




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]