mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Modified Files:
ChangeLog symtab.c * symtab.c(gdb_mangle_name): fix the problem with constructor name mangling.
This commit is contained in:
parent
dda398c369
commit
adbdb5276a
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user