Merge async and sync code paths some more
[deliverable/binutils-gdb.git] / gdb / target-delegates.c
index ddcad9426d62a0f7d744aec741cc4ff8e9e0d6b7..8d51b6c73cc355e243c144edf50e7a9054ce49cf 100644 (file)
@@ -116,12 +116,6 @@ delegate_wait (struct target_ops *self, ptid_t arg1, struct target_waitstatus *a
   return self->to_wait (self, arg1, arg2, arg3);
 }
 
-static ptid_t
-tdefault_wait (struct target_ops *self, ptid_t arg1, struct target_waitstatus *arg2, int arg3)
-{
-  noprocess ();
-}
-
 static ptid_t
 debug_wait (struct target_ops *self, ptid_t arg1, struct target_waitstatus *arg2, int arg3)
 {
@@ -4251,7 +4245,7 @@ install_dummy_methods (struct target_ops *ops)
   ops->to_detach = tdefault_detach;
   ops->to_disconnect = tdefault_disconnect;
   ops->to_resume = tdefault_resume;
-  ops->to_wait = tdefault_wait;
+  ops->to_wait = default_target_wait;
   ops->to_fetch_registers = tdefault_fetch_registers;
   ops->to_store_registers = tdefault_store_registers;
   ops->to_prepare_to_store = tdefault_prepare_to_store;
This page took 0.024006 seconds and 4 git commands to generate.