aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
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 */