aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-06-03 13:49:20 +0100
committerGary Benson <gbenson@redhat.com>2014-06-03 13:49:20 +0100
commitd3448d85235386883085fedff90263881fc17b8f (patch)
tree40f5da9e9ccceedf5891d5503d977988fc7a55c1 /gdb/gnu-v2-abi.c
parent835c559fd59d4ebb3b04d046c1f9f36183db0fe6 (diff)
downloadgdb-d3448d85235386883085fedff90263881fc17b8f.zip
gdb-d3448d85235386883085fedff90263881fc17b8f.tar.gz
gdb-d3448d85235386883085fedff90263881fc17b8f.tar.bz2
This patch replaces a call to cplus_demangle with a call to
gdb_demangle. This change was included in an RFC from last March [1] but omitted from the eventual commit. [1] https://sourceware.org/ml/gdb-patches/2013-03/msg00235.html 2014-06-03 Gary Benson <gbenson@redhat.com> * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r--gdb/gnu-v2-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index 4a488be..3ca01c3 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -251,7 +251,7 @@ gnuv2_value_rtti_type (struct value *v, int *full, int *top, int *using_enc)
return NULL;
/* If we just skip the prefix, we get screwed by namespaces. */
- demangled_name=cplus_demangle(linkage_name,DMGL_PARAMS|DMGL_ANSI);
+ demangled_name=gdb_demangle(linkage_name,DMGL_PARAMS|DMGL_ANSI);
p = strchr (demangled_name, ' ');
if (p)
*p = '\0';