[PATCH] GDB/opcodes: Remove arch/mach/endian disassembler assertions

Yao Qi qiyaoltc@gmail.com
Fri Aug 4 10:49:00 GMT 2017


"Maciej W. Rozycki" <macro@imgtec.com> writes:

> (gdb) set architecture i386
> The target architecture is assumed to be i386
> (gdb) disassemble main
> Dump of assembler code for function main:
>    0x00400450 <+0>:
> .../gdb/arch-utils.c:979: internal-error: int default_print_insn(bfd_vma, disassemble_info*): Assertion `info->mach == bfd_get_mach (exec_bfd)' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) n

I didn't notice this example in your email.  The gdb patch is good to me.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list