[PATCH] m32r-*-gdb outputs wrong dissassemble codes for 0x*2 addresses.

Kazuhiro Inaoka inaoka.kazuhiro@renesas.com
Tue Feb 10 07:39:00 GMT 2004


Hello,

This is a patch to fix the following bug.

gdb outputs wrong disassemble codes for 0x*2 addresses.

(gdb) x/i 0x100
0x100 <__init>: push fp -> push lr
(gdb) x/i 0x102
0x102 <__init+2>: -> st r6,@r0 <== NG


Please commit it and regenerate opcodes/m32r-dis.c.

Regards,

Kazuhiro Inaoka


cgen/ChangeLog

2004-02-10 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com >

* cpu/m32r.opc (my_print_insn): Fixed gdb outputs wrong disassemble
codes for 0x*2 addresses.


opcodes/ChangeLog

2004-02-10 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com >

* m32r-dis.c: Regenerate.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m32r.opc.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040210/683423db/attachment.ksh>


More information about the Gdb-patches mailing list