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: Commit: Export AArch64 sum's single step function


On 11 Aug 2016 15:04, Nick Clifton wrote:
>   I am checking in the patch below to export the AArch64 sim's single
>   step function, so that it can be used when a tool needs to just
>   execute one instruction at a time.

this is already possible with the common sim API -- sim_resume() has a
"step" argument specifically to do single stepping.  no sim should be
exporting *any* symbol other than the handful of sim_xxx that the common
API currently requires.  once i can finish inverting all the state so
we have callbacks (akin to gdb's architecture), then arch sims will not
be allowed to export any symbols at all, and it'll be enforced in the
common code with symbol visibility.

am i misunderstanding what you're doing ?
-mike

Attachment: signature.asc
Description: Digital signature


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