Handle CRLF when reading XML on Windows
[deliverable/binutils-gdb.git] / gdb / btrace.c
index 9422c2b71584b7bd5b1412c04c7573856663b112..f6a0643ba172cffe0360c8f0b876b01440df45bf 100644 (file)
@@ -82,7 +82,7 @@ ftrace_print_function_name (const struct btrace_function *bfun)
   sym = bfun->sym;
 
   if (sym != NULL)
-    return SYMBOL_PRINT_NAME (sym);
+    return sym->print_name ();
 
   if (msym != NULL)
     return msym->print_name ();
@@ -206,7 +206,7 @@ ftrace_function_switched (const struct btrace_function *bfun,
       const char *bfname, *fname;
 
       /* Check the function name.  */
-      if (strcmp (SYMBOL_LINKAGE_NAME (fun), SYMBOL_LINKAGE_NAME (sym)) != 0)
+      if (strcmp (fun->linkage_name (), sym->linkage_name ()) != 0)
        return 1;
 
       /* Check the location of those functions, as well.  */
This page took 0.024753 seconds and 4 git commands to generate.