aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.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/partial-stab.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/partial-stab.h')
-rw-r--r--gdb/partial-stab.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index e92da5a..f1ab991 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -378,6 +378,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
{
case 'S':
CUR_SYMBOL_VALUE += ANOFFSET (section_offsets, SECT_OFF_DATA);
+#ifdef STATIC_TRANSFORM_NAME
+ namestring = STATIC_TRANSFORM_NAME (namestring);
+#endif
ADD_PSYMBOL_ADDR_TO_LIST (namestring, p - namestring,
VAR_NAMESPACE, LOC_STATIC,
objfile->static_psymbols,