* ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
authorAlan Modra <amodra@gmail.com>
Tue, 4 Jun 2013 02:44:35 +0000 (02:44 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Jun 2013 02:44:35 +0000 (02:44 +0000)
commit845d47080b7d7e068e4ec3d11fe6e27b403ac6e3
tree91921c847306eb89c9e83e20f6cf65817cb999fc
parent404e278f8d2b72c163f7d5f1555c530d5964fa54
* ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
* rs6000-tdep.c (read_insn): Add frame param, don't assume big-endian.
(ppc_insns_match_pattern): Add frame param.  Avoid multiple
target mem reads on optional insns.
* ppc-linux-tdep.c (ppc_skip_trampoline_code): Update
ppc_insns_match_pattern calls.
* ppc64-tdep.c (ppc64_standard_linkage2, ppc64_standard_linkage3):
Add match for power7 thread safety insns, and new order of
std 2,40(1) insn.  Correct code shown for _dl_runtime_resolve
invocation in comment, and update rest of comment.
(PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN,
PPC64_STANDARD_LINKAGE3_LEN): Delete.
(ppc64_standard_linkage2_target): Update insn offsets.
(ppc64_skip_trampoline_code): Use a single insn buffer.  Match newer
stubs first.  Update calls.
gdb/ChangeLog
gdb/ppc-linux-tdep.c
gdb/ppc-tdep.h
gdb/ppc64-tdep.c
gdb/rs6000-tdep.c