Use target_read_code in skip_prologue (amd64)
authorYao Qi <yao@codesourcery.com>
Wed, 23 Oct 2013 13:49:32 +0000 (21:49 +0800)
committerYao Qi <yao@codesourcery.com>
Tue, 10 Dec 2013 12:27:56 +0000 (20:27 +0800)
commitbae8a07ab1793e3c7d4e596906f4d4b87588935e
treee5cb7505d753b544e71fb4dc9493b26eb5d23ff6
parent0865b04a4dec8a458bee54081b5598a6268b0724
Use target_read_code in skip_prologue (amd64)

gdb:

2013-12-10  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.
gdb/ChangeLog
gdb/amd64-tdep.c