Fix gdb build with -std=gnu++11
[deliverable/binutils-gdb.git] / gdb / dcache.c
index f72b348cf1bac88610fb3197f9dc8e6088e3992f..5a2e8f8000b7c7de9f0fbac640611043b2187b02 100644 (file)
@@ -1,6 +1,6 @@
 /* Caching code for GDB, the GNU debugger.
 
-   Copyright (C) 1992-2018 Free Software Foundation, Inc.
+   Copyright (C) 1992-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -615,7 +615,7 @@ dcache_info_1 (DCACHE *dcache, const char *exp)
     }
 
   printf_filtered (_("Contains data for %s\n"),
-                  target_pid_to_str (dcache->ptid));
+                  target_pid_to_str (dcache->ptid).c_str ());
 
   refcount = 0;
 
This page took 0.023793 seconds and 4 git commands to generate.