gdb/testsuite: Fix race condition in gdb.base/skip.exp
[deliverable/binutils-gdb.git] / gdb / process-stratum-target.c
index ca9d13a7b322b200700b4a6b27f3637125e74a39..d6bc6abc4bb02724e02ec02ab4472ca775970333 100644 (file)
@@ -1,6 +1,6 @@
 /* Abstract base class inherited by all process_stratum targets
 
-   Copyright (C) 2018 Free Software Foundation, Inc.
+   Copyright (C) 2018-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -35,7 +35,7 @@ process_stratum_target::thread_address_space (ptid_t ptid)
     internal_error (__FILE__, __LINE__,
                    _("Can't determine the current "
                      "address space of thread %s\n"),
-                   target_pid_to_str (ptid));
+                   target_pid_to_str (ptid).c_str ());
 
   return inf->aspace;
 }
This page took 0.02568 seconds and 4 git commands to generate.