Update gdb.base/default.exp for GDB 10
[deliverable/binutils-gdb.git] / gdb / record-btrace.c
index 04bd09ae9cee0f81277af7164e107afadc4cbf4e..459d0da84027d2e5a2fc37764e1ba42620eb2f14 100644 (file)
@@ -1115,7 +1115,7 @@ btrace_get_bfun_name (const struct btrace_function *bfun)
   sym = bfun->sym;
 
   if (sym != NULL)
-    return SYMBOL_PRINT_NAME (sym);
+    return sym->print_name ();
   else if (msym != NULL)
     return msym->print_name ();
   else
@@ -1175,7 +1175,7 @@ btrace_call_history (struct ui_out *uiout,
        }
 
       if (sym != NULL)
-       uiout->field_string ("function", SYMBOL_PRINT_NAME (sym),
+       uiout->field_string ("function", sym->print_name (),
                             function_name_style.style ());
       else if (msym != NULL)
        uiout->field_string ("function", msym->print_name (),
This page took 0.033402 seconds and 4 git commands to generate.