Make the objfile destructor private
[deliverable/binutils-gdb.git] / gdb / gnu-nat.h
index dbad0cac93f78577627f1fa77ba1f3fdf1944664..a22df89fe2de549649efeb2c415ac2aac29f2d9a 100644 (file)
@@ -35,6 +35,8 @@ extern __typeof__ (mach_thread_info) mach_thread_info asm ("thread_info");
 
 #include <unistd.h>
 
+#include "inf-child.h"
+
 struct inf;
 
 extern struct inf *gnu_current_inf;
@@ -144,7 +146,7 @@ struct gnu_nat_target : public inf_child_target
                        char **, int) override;
   void mourn_inferior () override;
   bool thread_alive (ptid_t ptid) override;
-  const char *pid_to_str (ptid_t) override;
+  std::string pid_to_str (ptid_t) override;
   void stop (ptid_t) override;
 };
 
This page took 0.036315 seconds and 4 git commands to generate.