aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/tm-sun4sol2.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-09 20:21:46 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-09 20:21:46 +0000
commit137a07e69da8cb956951fae6f84c3af96351a3b4 (patch)
treee09b881239365ed75d9a783d7599bbd12174d8c5 /gdb/config/sparc/tm-sun4sol2.h
parentdf8d50821648d7585ca1b402f7e0855f440a5bac (diff)
downloadgdb-137a07e69da8cb956951fae6f84c3af96351a3b4.zip
gdb-137a07e69da8cb956951fae6f84c3af96351a3b4.tar.gz
gdb-137a07e69da8cb956951fae6f84c3af96351a3b4.tar.bz2
* config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
* partial-stab.h: Call it. * stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call STATIC_TRANSFORM_NAME to get the name and use minimal symbols to get the address. * sparc-tdep.c (solaris_static_transform_name): New function.
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 292e683..79f21e7 100644
--- a/gdb/config/sparc/tm-sun4sol2.h
+++ b/gdb/config/sparc/tm-sun4sol2.h
@@ -64,6 +64,9 @@ get_longjmp_target PARAMS ((CORE_ADDR *));
and for SunPRO 3.0, N_FUN symbols too. */
#define SOFUN_ADDRESS_MAYBE_MISSING
+extern char *solaris_static_transform_name PARAMS ((char *));
+#define STATIC_TRANSFORM_NAME(x) solaris_static_transform_name (x)
+
#define FAULTED_USE_SIGINFO
/* Enable handling of shared libraries for a.out executables. */