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: [PATCH 2/3] skip_prolgoue (amd64)


> 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?


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