From 5d09de9d6b84a874ecde1304a68acc0f50c386ba Mon Sep 17 00:00:00 2001 From: David Carlton Date: Tue, 16 Dec 2003 19:27:11 +0000 Subject: [PATCH] 2003-12-16 David Carlton * cp-support.c (class_name_from_physname): Add DMGL_PARAMS. (method_name_from_physname): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/cp-support.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.30.2