This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix gdb_disassemble_info


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]