Modified Files:

ChangeLog symtab.c

        * symtab.c(gdb_mangle_name): fix the problem with constructor
        name mangling.
This commit is contained in:
Kung Hsu
1993-11-15 20:40:03 +00:00
parent dda398c369
commit adbdb5276a
2 changed files with 6 additions and 1 deletions

View File

@ -278,7 +278,7 @@ gdb_mangle_name (type, i, j)
is_destructor = (strncmp(physname, "__dt", 4) == 0);
#ifndef GCC_MANGLE_BUG
if (is_destructor)
if (is_destructor || is_constructor)
{
mangled_name = (char*) xmalloc(strlen(physname)+1);
strcpy(mangled_name, physname);