mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Modified Files:
ChangeLog symtab.c * symtab.c(gdb_mangle_name): fix the problem with constructor name mangling.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user