Re: use MIPS NewABI register names when disassembling NewABI code

Andrew Cagney
2003-04-28T19:26:53Z

> 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