This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Commit: Export AArch64 sum's single step function
- From: Nick Clifton <nickc at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Aug 2016 16:32:19 +0100
- Subject: Re: Commit: Export AArch64 sum's single step function
- Authentication-results: sourceware.org; auth=none
- References: <87oa4z2yhu.fsf@redhat.com> <20160811142153.GU30544@vapier.lan>
Hi Mike,
> this is already possible with the common sim API -- sim_resume() has a
> "step" argument specifically to do single stepping.
Hmm, OK, but how is this single stepping communicated to the target simulator ?
As far as I can see the AArch64 simulator does not support single stepping
(unless the host has inserted breakpoint instructions into the simulated instruction
space). I assume that this is a bug in the aarch64 simulator code, but what exactly
is wrong ?
Hmm, I see that some other target simulators implement a sim_resume() function of
their own. Perhaps this is the problem - the aarch64 sim should do the same ?
Cheers
Nick