From: David Carlton Date: Tue, 16 Dec 2003 19:27:11 +0000 (+0000) Subject: 2003-12-16 David Carlton X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d09de9d6b84a874ecde1304a68acc0f50c386ba;p=binutils-gdb.git 2003-12-16 David Carlton * cp-support.c (class_name_from_physname): Add DMGL_PARAMS. (method_name_from_physname): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a71495df5b6..3d05afd03d5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 David Carlton + + * cp-support.c (class_name_from_physname): Add DMGL_PARAMS. + (method_name_from_physname): Ditto. + 2003-12-15 Mark Kettenis * i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable. diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 9b447fcadf3..bd76fae1851 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -145,7 +145,7 @@ class_name_from_physname (const char *physname) char *ret = NULL; const char *end; int depth = 0; - char *demangled_name = cplus_demangle (physname, DMGL_ANSI); + char *demangled_name = cplus_demangle (physname, DMGL_ANSI | DMGL_PARAMS); if (demangled_name == NULL) return NULL; @@ -170,7 +170,7 @@ method_name_from_physname (const char *physname) char *ret = NULL; const char *end; int depth = 0; - char *demangled_name = cplus_demangle (physname, DMGL_ANSI); + char *demangled_name = cplus_demangle (physname, DMGL_ANSI | DMGL_PARAMS); if (demangled_name == NULL) return NULL;