aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-12-01 05:34:30 +0000
committerJeff Law <law@redhat.com>1994-12-01 05:34:30 +0000
commitb1bbe38b3d1906c0df6d5aca0ec28d3b3a43626b (patch)
tree2b17699b82912d7a47c8a2fe1e105c85f74591c2 /gdb/somsolib.h
parent002199bca44e3a5a691384ec72ce2d25c4dda788 (diff)
downloadgdb-b1bbe38b3d1906c0df6d5aca0ec28d3b3a43626b.zip
gdb-b1bbe38b3d1906c0df6d5aca0ec28d3b3a43626b.tar.gz
gdb-b1bbe38b3d1906c0df6d5aca0ec28d3b3a43626b.tar.bz2
* somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl. * hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the function's export stub or real address in a shared library.
Diffstat (limited to 'gdb/somsolib.h')
-rw-r--r--gdb/somsolib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/somsolib.h b/gdb/somsolib.h
index f6b0115..8df2062 100644
--- a/gdb/somsolib.h
+++ b/gdb/somsolib.h
@@ -32,6 +32,9 @@ struct target_ops;
extern void
som_solib_add PARAMS ((char *, int, struct target_ops *));
+extern CORE_ADDR
+som_solib_get_got_by_pc PARAMS ((CORE_ADDR));
+
/* Function to be called when the inferior starts up, to discover the names
of shared libraries that are dynamically linked, the base addresses to
which they are linked, and sufficient information to read in their symbols