This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: ARM: Improved IT disassembly


Zack Weinberg <zack@codesourcery.com> writes:

> To be slightly clearer, when I said "I have no information to say
> where a backward scan should stop", I meant "print_insn does not know
> the beginning of the memory region containing the instruction."  If I
> blindly call info->read_memory_func (pc - 2), will it not crash in the
> case where pc is at the very beginning of the segment?

It shouldn't.  It should return an error.

Ian


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