aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-12-07 01:41:29 +0000
committerDaniel Jacobowitz <drow@false.org>2007-12-07 01:41:29 +0000
commita20d5e98e51d91b66dfccc205d4d27e8850238b2 (patch)
tree74c39f25072ce5bc284e1d286a43598144a1d56b /gdb/gdbserver/server.h
parent542f8b941d534409cb25016e4817a9d84289b7b0 (diff)
downloadgdb-a20d5e98e51d91b66dfccc205d4d27e8850238b2.zip
gdb-a20d5e98e51d91b66dfccc205d4d27e8850238b2.tar.gz
gdb-a20d5e98e51d91b66dfccc205d4d27e8850238b2.tar.bz2
* 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.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 54ba614..8d7a1a8 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -171,10 +171,9 @@ void remote_open (char *name);
void remote_close (void);
void write_ok (char *buf);
void write_enn (char *buf);
+void initialize_async_io (void);
void enable_async_io (void);
void disable_async_io (void);
-void unblock_async_io (void);
-void block_async_io (void);
void check_remote_input_interrupt_request (void);
void convert_ascii_to_int (char *from, unsigned char *to, int n);
void convert_int_to_ascii (unsigned char *from, char *to, int n);