aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-10-02 17:10:01 +0000
committerNick Clifton <nickc@redhat.com>2008-10-02 17:10:01 +0000
commit6176abac10fc198eed7324f14e79780644b16490 (patch)
tree6006ff59d0600fb10ce1eccaf6f3b887e0f25a84 /binutils
parentdb5f024eccfb16178a57402ef3d9d50f5944df41 (diff)
downloadgdb-6176abac10fc198eed7324f14e79780644b16490.zip
gdb-6176abac10fc198eed7324f14e79780644b16490.tar.gz
gdb-6176abac10fc198eed7324f14e79780644b16490.tar.bz2
PR 6934
* stabs.c (parse_stab_string): Parse and ignore =Y<name> strings generated by the SUNPro C++ compiler.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/stabs.c20
2 files changed, 26 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index c550f85..6801b88 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-02 Andrew Paprocki <andrew@ishiboo.com>
+
+ PR 6934
+ * stabs.c (parse_stab_string): Parse and ignore =Y<name> strings
+ generated by the SUNPro C++ compiler.
+
2008-09-30 Andrew Paprocki <andrew@ishiboo.com>
PR 6922
diff --git a/binutils/stabs.c b/binutils/stabs.c
index c2c7c3a..069751b 100644
--- a/binutils/stabs.c
+++ b/binutils/stabs.c
@@ -1105,6 +1105,26 @@ parse_stab_string (void *dhandle, struct stab_handle *info, int stabtype,
return FALSE;
break;
+ case 'Y':
+ /* SUNPro C++ Namespace =Yn0. */
+ /* Skip the namespace mapping, as it is not used now. */
+ if (*(++p) == 'n' && *(++p) == '0')
+ {
+ /* =Yn0name; */
+ while (*p != ';')
+ ++p;
+ ++p;
+ return TRUE;
+ }
+ /* TODO SUNPro C++ support:
+ Support default arguments after F,P parameters
+ Ya = Anonymous unions
+ YM,YD = Pointers to class members
+ YT,YI = Templates
+ YR = Run-time type information (RTTI) */
+
+ /* Fall through. */
+
default:
bad_stab (string);
return FALSE;