[PATCH] Force mips16 disassembled addresses to odd values

Eric Christopher echristo@apple.com
Fri Apr 28 20:36:00 GMT 2006


On Apr 28, 2006, at 11:14 AM, Thiemo Seufer wrote:

> Eric Christopher wrote:
>>
>> On Apr 28, 2006, at 5:33 AM, Thiemo Seufer wrote:
>>
>>> Hello All,
>>>
>>> this patch forces some disassembled mips16 addresses to odd values,
>>> this helps gdb to handle mips16 code better.
>>
>> Uh. What on earth? Could you explain this one? :)
>
> Gdb has to find out what part is MIPS16 in mixed MIPS32/MIPS16 code
> binaries. The code is used in MIPS' SDE6 toolchain, I don't know if
> there are better ways like relying on DWARF info (in a detached file
> for raw binaries?).

Good question. What's done for arm/thumb?

-eric



More information about the Binutils mailing list