diff options
author | David Carlton <carlton@bactrian.org> | 2003-12-16 19:27:11 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-12-16 19:27:11 +0000 |
commit | 5d09de9d6b84a874ecde1304a68acc0f50c386ba (patch) | |
tree | 9e4fdc9ae56beb53c6bbe57ac8dabf7d0b94af9c /gdb | |
parent | 250355db8249c4159b32a9d9d82f7eb0f8f50aad (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/cp-support.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a71495d..3d05afd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 David Carlton <carlton@kealia.com> + + * cp-support.c (class_name_from_physname): Add DMGL_PARAMS. + (method_name_from_physname): Ditto. + 2003-12-15 Mark Kettenis <kettenis@gnu.org> * i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable. 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; |