This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] fix gdb_disassemble_info
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Kei Sakamoto <sakamoto dot kei at renesas dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 18 Jul 2003 16:17:28 -0400
- Subject: Re: [PATCH] fix gdb_disassemble_info
- References: <00f801c341d4$44875d60$5169910a@KEI>
> 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.
Oops! I've checked this in - mainline and 6.0 branch.
Andrew