From adbdb5276abd6a30382c48f5fc988e8e3145fe00 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Mon, 15 Nov 1993 20:40:03 +0000 Subject: [PATCH] Modified Files: ChangeLog symtab.c * symtab.c(gdb_mangle_name): fix the problem with constructor name mangling. --- gdb/ChangeLog | 5 +++++ gdb/symtab.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53777e5..3cc0031 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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); -- 2.7.4