mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
PR 6934
* stabs.c (parse_stab_string): Parse and ignore =Y<name> strings generated by the SUNPro C++ compiler.
This commit is contained in:
parent
db5f024ecc
commit
6176abac10
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user