aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/spu-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/spu-low.c')
-rw-r--r--gdb/gdbserver/spu-low.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c
index a8f7df3..f5f1d20 100644
--- a/gdb/gdbserver/spu-low.c
+++ b/gdb/gdbserver/spu-low.c
@@ -348,9 +348,6 @@ spu_resume (struct thread_resume *resume_info)
&& resume_info->thread != current_tid)
resume_info++;
- block_async_io ();
- enable_async_io ();
-
if (resume_info->leave_stopped)
return;
@@ -375,9 +372,6 @@ spu_wait (char *status)
int w;
int ret;
- enable_async_io ();
- unblock_async_io ();
-
while (1)
{
ret = waitpid (tid, &w, WNOHANG | __WALL | __WNOTHREAD);
@@ -407,8 +401,6 @@ spu_wait (char *status)
}
}
- disable_async_io ();
-
if (WIFEXITED (w))
{
fprintf (stderr, "\nChild exited with retcode = %x \n", WEXITSTATUS (w));