aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-03-25 09:23:10 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-03-25 09:23:10 +0000
commitb9e585030c6d1007849c42d0bc19d1e77041505d (patch)
treed19636a519ae76b78d82efbba19d81bdbeec6fe8 /gdb/stabsread.c
parent62f2c8080203a4c48cb408119a4afb4d9cb766c2 (diff)
downloadfsf-binutils-gdb-b9e585030c6d1007849c42d0bc19d1e77041505d.zip
fsf-binutils-gdb-b9e585030c6d1007849c42d0bc19d1e77041505d.tar.gz
fsf-binutils-gdb-b9e585030c6d1007849c42d0bc19d1e77041505d.tar.bz2
* buildsym.c (patch_subfile_name): Update last_source_file
with the real source file name. * dbxread.c (end_psymtab): Handle static functions in the SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename to lookup_minimal_symbol. (process_one_symbol): Ignore extra outermost context from SunPRO cc and acc. * stabsread.c (define_symbol): Do not complain for SunPRO static variable encoding if STATIC_TRANSFORM_NAME is defined. * sparc-tdep.c, config/sparc/tm-sun4sol2.h (sunpro_static_transform_name): Renamed from solaris_static_transform_name. * config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME): Define to sunpro_static_transform_name for acc 3.0 compiled executables. * procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS): Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults if defined. * procfs.c (info_proc_siginfo): Cast sip->si_addr to `unsigned long' and use `lx' format for printing it.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 66488f8..e2674e6 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -593,6 +593,12 @@ define_symbol (valu, string, desc, type, objfile)
/* This was an anonymous type that was never fixed up. */
goto normal;
+#ifdef STATIC_TRANSFORM_NAME
+ case 'X':
+ /* SunPRO (3.0 at least) static variable encoding. */
+ goto normal;
+#endif
+
default:
complain (&unrecognized_cplus_name_complaint, string);
goto normal; /* Do *something* with it */