Re: [PATCH 2/3] skip_prolgoue (amd64)

Yao Qi
2013-11-30T02:35:24Z

On 11/30/2013 12:05 AM, Mark Kettenis wrote:
> But only if the cache is properly invalidated when control when
> running/stepping. Is it?

Yes, cache is invalidated when the inferior is to be resumed. See
target.c:target_resume.

void
target_resume (ptid_t ptid, int step, enum gdb_signal signal)
{
struct target_ops *t;

target_dcache_invalidate ();
....

--
Yao (é½å°§)