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

Maciej W. Rozycki
2017-08-03T11:36:55Z

On Thu, 3 Aug 2017, Yao Qi wrote:

> I prefer to keep these asserts, as they could check the inconsistent
> uses of disassemble_info between gdb and opcodes. There is another
> assert for target armv5te, PR 21818, but the assert exposes an improper
> or unexpected usage of disassemble_info.mach in opcodes/arm-dis.c. I am
> fixing it.

How does the retaining of these assertions interact with `set
architecture' and `set endian' then?

Maciej