mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 00:52:16 +08:00
* linux-low.c (linux_wait, linux_resume): Do not handle async I/O.
* remote-utils.c (remote_open): Do not call disable_async_io. (block_async_io): Delete. (unblock_async_io): Make static. (initialize_async_io): New. * server.c (handle_v_cont): Handle async I/O here. (myresume): Likewise. Move other common resume tasks here... (main): ... from here. Call initialize_async_io. Disable async I/O before the main loop. * server.h (initialize_async_io): Declare. (block_async_io, unblock_async_io): Delete prototypes. * spu-low.c (spu_resume, spu_wait): Do not handle async I/O here.
This commit is contained in:
@ -897,11 +897,8 @@ retry:
|
||||
}
|
||||
}
|
||||
|
||||
enable_async_io ();
|
||||
unblock_async_io ();
|
||||
w = linux_wait_for_event (child);
|
||||
stop_all_processes ();
|
||||
disable_async_io ();
|
||||
|
||||
if (must_set_ptrace_flags)
|
||||
{
|
||||
@ -1313,11 +1310,7 @@ linux_resume (struct thread_resume *resume_info)
|
||||
if (pending_flag)
|
||||
for_each_inferior (&all_threads, linux_queue_one_thread);
|
||||
else
|
||||
{
|
||||
block_async_io ();
|
||||
enable_async_io ();
|
||||
for_each_inferior (&all_threads, linux_continue_one_thread);
|
||||
}
|
||||
for_each_inferior (&all_threads, linux_continue_one_thread);
|
||||
}
|
||||
|
||||
#ifdef HAVE_LINUX_USRREGS
|
||||
|
Reference in New Issue
Block a user