RFC: Keep 5 yr. old hack for MIPS16 on disassembler code
Fernando Nasser
fnasser@redhat.com
Mon Sep 30 14:29:00 GMT 2002
This hack was added 5+yrs ago to fix disassembler printing for MIPS16. The
instruction disassembler code itself is unaware of that -- the hack is only for
the address that is printed in front of the instructions.
This horrible macro is only defined for these MIPS16 machines, it is not a
general architecture macro (which would be transformed into a multiarch
function), so the ifdef.
I have filled the bug gdb/773 asking for these macros to be replaced by
something cleaner. But I don't know enough about mips16 to do anything about it
and if I leave this out of the code I will break that target. So I will have to
add it to the new disassembler code in disasm.c (this hack was on the old code
on printcmd.c) -- see attached patch.
I will check it in soon (unless someone fixes 773 first).
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DISASM2.PATCH
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020930/2dd1d5d0/attachment.ksh>
More information about the Gdb-patches
mailing list