summaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/frv-tdep.h')
-rw-r--r--gdb/frv-tdep.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h
index 3bb9d84d3f8..5d95aa58022 100644
--- a/gdb/frv-tdep.h
+++ b/gdb/frv-tdep.h
@@ -33,3 +33,12 @@ enum frv_abi frv_abi (struct gdbarch *gdbarch);
not. (E.g, -1 will be returned if the ABI isn't the FDPIC ABI.) */
int frv_fdpic_loadmap_addresses (struct gdbarch *gdbarch,
CORE_ADDR *interp_addr, CORE_ADDR *exec_addr);
+
+/* Given a function entry point, find and return the GOT address for the
+ containing load module. */
+CORE_ADDR frv_fdpic_find_global_pointer (CORE_ADDR addr);
+
+/* Given a function entry point, find and return the canonical descriptor
+ for that function, if one exists. If no canonical descriptor could
+ be found, return 0. */
+CORE_ADDR frv_fdpic_find_canonical_descriptor (CORE_ADDR entry_point);