This is the mail archive of the gdb-patches@sourceware.org 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 1/2] This patch fixes GDBServer's run control for single stepping


Yao Qi writes:

> On Fri, Feb 17, 2017 at 3:05 AM, Antoine Tremblay
> <antoine.tremblay@ericsson.com> wrote:
>>
>> And I'm not sure how the IT block detection would be done.
>>
>
> In ARM ARM, we have the pseudo code,
>
> boolean InITBlock()
> return (ITSTATE.IT<3:0> != ‘0000’);
>
> ITSTATE can be got from CPSR.

Yes that's good if you're inserting a breakpoint at current PC but
otherwise you will need something else...


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