aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2021-04-29 17:19:13 -0500
committerCarl Love <cel@us.ibm.com>2021-06-07 10:41:22 -0500
commitecac8d1c14acba1fd20b99c2481d0cab5887e3b7 (patch)
tree6ac1ab466300a266982162dc7aa54f33fcc413b9 /gdb/ppc-tdep.h
parentf1854e35d87ac3237e0d7a10224a1eff42e65297 (diff)
downloadgdb-ecac8d1c14acba1fd20b99c2481d0cab5887e3b7.zip
gdb-ecac8d1c14acba1fd20b99c2481d0cab5887e3b7.tar.gz
gdb-ecac8d1c14acba1fd20b99c2481d0cab5887e3b7.tar.bz2
Add Power 10 PLT instruction patterns
gdb/ChangeLog: 2021-06-07 Carl Love <cel@us.ibm.com> * ppc-tdep.h (ppc_insn_prefix_dform): Declare. * ppc64-tdep.c(insn_md, insn_x, insn_xo): New macros. (ppc64_plt_pcrel_entry_point, ppc64_pcrel_linkage1_target, ppc64_pcrel_linkage2_target): New functions. (ppc64_standard_linkage9, ppc64_standard_linkage10, ppc64_standard_linkage11, ppc64_standard_linkage12): New ppc instruction patterns. (ppc64_standard_linkage9, ppc64_standard_linkage10, ppc64_standard_linkage11, ppc64_standard_linkage12): New variables in define MAX expression. (ppc64_skip_trampoline_code_1): Handle ppc64_standard_linkage9, ppc64_standard_linkage10, ppc64_standard_linkage11, ppc64_standard_linkage12. * (ppc_insn_prefix_dform): New function.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 77b6ab1..1e0754f 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -426,6 +426,8 @@ extern int ppc_insns_match_pattern (struct frame_info *frame, CORE_ADDR pc,
extern CORE_ADDR ppc_insn_d_field (unsigned int insn);
extern CORE_ADDR ppc_insn_ds_field (unsigned int insn);
+extern CORE_ADDR ppc_insn_prefix_dform (unsigned int insn1,
+ unsigned int insn2);
extern int ppc_process_record (struct gdbarch *gdbarch,
struct regcache *regcache, CORE_ADDR addr);