aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-12-16 19:27:11 +0000
committerDavid Carlton <carlton@bactrian.org>2003-12-16 19:27:11 +0000
commit5d09de9d6b84a874ecde1304a68acc0f50c386ba (patch)
tree9e4fdc9ae56beb53c6bbe57ac8dabf7d0b94af9c /gdb/cp-support.c
parent250355db8249c4159b32a9d9d82f7eb0f8f50aad (diff)
downloadgdb-5d09de9d6b84a874ecde1304a68acc0f50c386ba.zip
gdb-5d09de9d6b84a874ecde1304a68acc0f50c386ba.tar.gz
gdb-5d09de9d6b84a874ecde1304a68acc0f50c386ba.tar.bz2
2003-12-16 David Carlton <carlton@kealia.com>
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS. (method_name_from_physname): Ditto.
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r--gdb/cp-support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 9b447fc..bd76fae 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;