aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-29 16:47:15 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-29 16:47:15 +0000
commit62ea82f508b97190fce6018ef3545dff79de43cb (patch)
treeb5fda15057810c0c8a1774c878ec0a4553a6572a /gdb/gdbserver/server.h
parent6910d122aca0a6e1e9e81b6d74a9ef3215f34137 (diff)
downloadgdb-62ea82f508b97190fce6018ef3545dff79de43cb.zip
gdb-62ea82f508b97190fce6018ef3545dff79de43cb.tar.gz
gdb-62ea82f508b97190fce6018ef3545dff79de43cb.tar.bz2
* linux-low.c (linux_wait): Unblock async I/O.
(linux_resume): Block and enable async I/O. * remote-utils.c (block_async_io, unblock_async_io): New functions. * server.h (block_async_io, unblock_async_io): Add prototypes.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 5212deb..4896afb 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -134,6 +134,8 @@ void write_ok (char *buf);
void write_enn (char *buf);
void enable_async_io (void);
void disable_async_io (void);
+void unblock_async_io (void);
+void block_async_io (void);
void convert_ascii_to_int (char *from, char *to, int n);
void convert_int_to_ascii (char *from, char *to, int n);
void new_thread_notify (int id);