[PATCH] Force mips16 disassembled addresses to odd values

Thiemo Seufer ths@networkno.de
Fri Apr 28 19:39:00 GMT 2006


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?).


Thiemo



More information about the Binutils mailing list