Fix --as-needed undefined symbol references from dynamic libraries.
[deliverable/binutils-gdb.git] / gdb / c-typeprint.c
index ca8d89b0e9a94b6549ca63e6da48cf5bd30a780a..275733714fb9777d3a56cfb116db0bacc7d0dcf9 100644 (file)
@@ -31,7 +31,7 @@
 #include "typeprint.h"
 #include "cp-abi.h"
 #include "jv-lang.h"
-#include "gdb_string.h"
+#include <string.h>
 #include <errno.h>
 #include "cp-support.h"
 
@@ -1227,8 +1227,8 @@ c_type_print_base (struct type *type, struct ui_file *stream,
                    mangled_name = TYPE_FN_FIELD_PHYSNAME (f, j);
 
                  demangled_name =
-                   cplus_demangle (mangled_name,
-                                   DMGL_ANSI | DMGL_PARAMS);
+                   gdb_demangle (mangled_name,
+                                 DMGL_ANSI | DMGL_PARAMS);
                  if (demangled_name == NULL)
                    {
                      /* In some cases (for instance with the HP
This page took 0.024757 seconds and 4 git commands to generate.