[PATCH 2/3] skip_prolgoue (amd64)

Yao Qi yao@codesourcery.com
Sat Nov 30 03:40:00 GMT 2013


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 (齐尧)



More information about the Gdb-patches mailing list