* target.h (TARGET_WNOHANG): New.
[deliverable/binutils-gdb.git] / gdb / target.c
index 506fce710d74f015073fcff6ef3caeff373d2cac..8cbde1b91ec673d23a6dc995426e6a9dccbfa343 100644 (file)
@@ -1836,7 +1836,7 @@ target_disconnect (char *args, int from_tty)
 }
 
 ptid_t
-target_wait (ptid_t ptid, struct target_waitstatus *status)
+target_wait (ptid_t ptid, struct target_waitstatus *status, int options)
 {
   struct target_ops *t;
 
@@ -1844,7 +1844,7 @@ target_wait (ptid_t ptid, struct target_waitstatus *status)
     {
       if (t->to_wait != NULL)
        {
-         ptid_t retval = (*t->to_wait) (t, ptid, status);
+         ptid_t retval = (*t->to_wait) (t, ptid, status, options);
 
          if (targetdebug)
            {
This page took 0.026081 seconds and 4 git commands to generate.