aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2004-03-13 00:50:53 +0000
committerKevin Buettner <kevinb@redhat.com>2004-03-13 00:50:53 +0000
commitc4d1051556563d76c32f144c8442773ab42de419 (patch)
treea8a6f61bc49a4d206ddfac12db8f537c4dcd7c68 /gdb/frv-tdep.h
parented1bd989f78ed9daec1061f8ec2e6c298dfd4d16 (diff)
downloadgdb-c4d1051556563d76c32f144c8442773ab42de419.zip
gdb-c4d1051556563d76c32f144c8442773ab42de419.tar.gz
gdb-c4d1051556563d76c32f144c8442773ab42de419.tar.bz2
Add shared library support for FR-V FDPIC ABI.
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 3bb9d84..5d95aa5 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);