From 137a07e69da8cb956951fae6f84c3af96351a3b4 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 9 Feb 1995 20:21:46 +0000 Subject: * 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. --- gdb/config/sparc/tm-sun4sol2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/config') 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. */ -- cgit v1.1