Return std::string from ada_exception_catchpoint_cond_string
[deliverable/binutils-gdb.git] / gdb / go32-nat.c
index 1bb33309eb8b834660fda950fa370efdc88ecc5b..980180b23a1e84783b2e3e0a764a85b588c68c73 100644 (file)
@@ -375,7 +375,7 @@ struct go32_nat_target final : public x86_nat_target<inf_child_target>
 
   void mourn_inferior () override;
 
-  int thread_alive (ptid_t ptid) override;
+  bool thread_alive (ptid_t ptid) override;
 
   const char *pid_to_str (ptid_t) override;
 };
@@ -987,7 +987,7 @@ go32_nat_target::pass_ctrlc ()
 {
 }
 
-int
+bool
 go32_nat_target::thread_alive (ptid_t ptid)
 {
   return !ptid_equal (ptid, null_ptid);
@@ -2090,7 +2090,7 @@ _initialize_go32_nat (void)
   x86_dr_low.get_addr = go32_get_dr;
   x86_set_debug_register_length (4);
 
-  add_target (&the_go32_nat_target);
+  add_inf_child_target (&the_go32_nat_target);
 
   /* Initialize child's cwd as empty to be initialized when starting
      the child.  */
This page took 0.02461 seconds and 4 git commands to generate.