Change pid_to_str to return std::string
[deliverable/binutils-gdb.git] / gdb / x86-linux-nat.c
index fd15dc9b87209de27f267ab37c62e69dca70fb63..9a451e0e1aa0a41d49273c34231d6ef0ad95ae0f 100644 (file)
@@ -224,7 +224,7 @@ x86_linux_nat_target::enable_btrace (ptid_t ptid,
   CATCH (exception, RETURN_MASK_ERROR)
     {
       error (_("Could not enable branch tracing for %s: %s"),
-            target_pid_to_str (ptid), exception.message);
+            target_pid_to_str (ptid).c_str (), exception.message);
     }
   END_CATCH
 
This page took 0.026362 seconds and 4 git commands to generate.