This is the mail archive of the gdb-patches@sources.redhat.com 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: use MIPS NewABI register names when disassembling NewABI code



I don't see why not.


* mips-tdep.c (mips_gdbarch_init): Set disassembler_options
according to the selected ABI.


Yes!!


Wheee!  At last!  Thanks for shepherding me through the whole process
:-)

Um, does it work though? I can see it working for:


x/i $pc

but what about:

disassemble

The former uses the global [about to be deprecated] variable tm_print_insn_info and would pick up the settings. The latter, which was recently rewritten to not rely on that global, would not.

(the power of deprecation :-),

Andrew



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