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

@ -1,3 +1,8 @@
Mon Nov 15 12:29:10 1993 Kung Hsu (kung@cirdan.cygnus.com)
* symtab.c(gdb_mangle_name): fix the problem with constructor
name mangling.
Mon Nov 15 11:38:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.

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);