Recognize and skip 64-bit PowerPC Linux linkage functions.
authorJim Blandy <jimb@codesourcery.com>
Fri, 13 Jun 2003 00:06:11 +0000 (00:06 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 13 Jun 2003 00:06:11 +0000 (00:06 +0000)
commitf470a70ae30593ba8615df9ce60110abf04c6341
tree719e56846a40fec6dd7be6ab72f6437c1a5047f0
parent49ff75ad913c5603e6a6378a8749cb3e67e440da
Recognize and skip 64-bit PowerPC Linux linkage functions.
* ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct
insn_pattern, insns_match_pattern, d_field, ds_field): New
functions, macros, and types for working with PPC instructions.
(ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN,
ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target,
ppc64_skip_trampoline_code): New functions, variables, and macros
for recognizing and skipping linkage functions.
(ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and
ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
gdb/ChangeLog
gdb/ppc-linux-tdep.c