[PATCH 2/3] skip_prolgoue (amd64)

Mark Kettenis mark.kettenis@xs4all.nl
Fri Nov 29 18:55:00 GMT 2013


> Date: Fri, 29 Nov 2013 15:36:36 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> 
> > From: Yao Qi <yao@codesourcery.com>
> > Date: Fri, 29 Nov 2013 22:24:10 +0800
> > 
> > gdb:
> > 
> > 2013-11-29  Yao Qi  <yao@codesourcery.com>
> > 
> > 	* amd64-tdep.c (amd64_analyze_stack_align): Call
> > 	target_read_code instead of target_read_memory.
> > 	(amd64_analyze_prologue): Call read_code_unsigned_integer
> > 	instead of read_memory_unsigned_integer.  Call read_code
> > 	instead of read_memory.
> > 	(amd64_skip_xmm_prologue): Likewise.
> 
> Makes sense to me.

But only if the cache is properly invalidated when control when
running/stepping.  Is it?



More information about the Gdb-patches mailing list