aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sun4sol2.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-03-31 00:29:22 +0000
committerK. Richard Pixley <rich@cygnus>1993-03-31 00:29:22 +0000
commit2093fe684049c2e47bcc438adbb39c308e4db840 (patch)
treec99c8e18940b20a00568c98d8c936e4ccb886dab /gdb/config/sparc/tm-sun4sol2.h
parentdeae7611a31f74bf325b7ebf7f0e982e0f9f8056 (diff)
downloadgdb-2093fe684049c2e47bcc438adbb39c308e4db840.zip
gdb-2093fe684049c2e47bcc438adbb39c308e4db840.tar.gz
gdb-2093fe684049c2e47bcc438adbb39c308e4db840.tar.bz2
Teach sparc solaris to next over shared library functions.
* solib.[hc] (find_pc_section_from_so_list): new function and prototype. * sparc-tdep.c (in_solib_trampoline): new function. * symfile.[hc] (find_pc_section): new function and prototypes. * target.[hc] (find_pc_section_from_targets): new function and prototypes. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to in_solib_trampoline.
Diffstat (limited to 'gdb/config/sparc/tm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/tm-sun4sol2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sun4sol2.h b/gdb/config/sparc/tm-sun4sol2.h
index 638d33f..a95ef3b 100644
--- a/gdb/config/sparc/tm-sun4sol2.h
+++ b/gdb/config/sparc/tm-sun4sol2.h
@@ -20,6 +20,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "sparc/tm-sparc.h"
#include "tm-sysv4.h"
+#undef IN_SOLIB_TRAMPOLINE
+#define IN_SOLIB_TRAMPOLINE(pc, name) in_solib_trampoline((pc), (name))
+
/* The values of N_SLINE, N_LBRAC, N_RBRAC symbols in .stab sections are
relative to the current function, rather than being absolute or
relative to the current N_SO. */