[PATCH] fix gdb_disassemble_info
Kei Sakamoto
sakamoto.kei@renesas.com
Fri Jul 4 02:28:00 GMT 2003
The attached patch fixes "gdb_disassemble_info" in "disasm.c".
Some targets (m32r, xstormy16, etc.) uses "info->arch" at
"print_insn_*" in "opcodes/*-dis.c". "info" is initialized by
"gdb_disassemble_info" but it does not set "info->arch". So
these targets sometimes abort during dissassemble.
2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>
* disasm.c (gdb_disassemble_info): Initilize di.arch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disasm.c.patch
Type: application/octet-stream
Size: 500 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030704/26d6a909/attachment.obj>
More information about the Gdb-patches
mailing list