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

Mark Kettenis
2013-11-29T14:36:51Z

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

> ---
> gdb/amd64-tdep.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)