This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ARM: Improved IT disassembly
Richard Earnshaw <Richard.Earnshaw@arm.com> writes:
>
> I'm not very keen on the abort in ifthen_step. It seems likely to me
> that disassembling random single instructions from within GDB would
> likely hit that without trying too hard. It's one thing to cache known
> state and try to reuse it to accelerate object disassembly, but we must
> recover cleanly if a user does, say,
>
> (gdb) x/i $pc
> .... iteee eq
> (gdb) x/5i $pc-32
I'm honestly at a loss for any other viable approach. The instruction
encoding doesn't lend itself to scanning backward, and in any case, in
print_insn I have no information to say where a backward scan should
stop.
zw