Re: Commit: Export AArch64 sum's single step function

Nick Clifton
2016-08-12T10:40:00Z

Hi Mike,

> no, you don't want to implement sim_resume. any sim that does you should
> ignore. i think the prob is that the aarch64 sim_engine_run is missing a
> call to sim_events_process. look at ft32/interp.c for a bare bones example.

Ah - thanks - that was the pointer I needed. (I kept on looking at the wrong
targets for examples of what to do).

I have now checked in a patch to revert my previous delta - no more exporting
aarch64_step() - and to make aarch64_run process events correctly.

> honestly, i'm a little surprised things are working w/out this event process
> callback ...

It probably wasn't in GDB. I do not use GDB with AArch64 at the moment, so I
had never come across the deficiency. With this patch in it might even work now...

Cheers
Nick