diff options
author | Kung Hsu <kung@cygnus> | 1993-11-15 20:40:03 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1993-11-15 20:40:03 +0000 |
commit | adbdb5276abd6a30382c48f5fc988e8e3145fe00 (patch) | |
tree | 09793039818f6df914c824e0c9d8ddbd06d95eae /gdb/symtab.c | |
parent | dda398c369f499c0468c4cacdae9ff3d44555832 (diff) | |
download | gdb-adbdb5276abd6a30382c48f5fc988e8e3145fe00.zip gdb-adbdb5276abd6a30382c48f5fc988e8e3145fe00.tar.gz gdb-adbdb5276abd6a30382c48f5fc988e8e3145fe00.tar.bz2 |
Modified Files:
ChangeLog symtab.c
* symtab.c(gdb_mangle_name): fix the problem with constructor
name mangling.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 2dcc877..157d2da 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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); |