aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-05-10 22:04:50 +0000
committerPedro Alves <palves@redhat.com>2007-05-10 22:04:50 +0000
commit7390519ea0a40c10c7f3d740cb29a6881446cc18 (patch)
tree9361f68ea7230c94d47489f0c0f830344b268f49 /gdb/gdbserver/server.h
parent34b34921087ce04e7a45cbb38a3b8af17b0c630a (diff)
downloadgdb-7390519ea0a40c10c7f3d740cb29a6881446cc18.zip
gdb-7390519ea0a40c10c7f3d740cb29a6881446cc18.tar.gz
gdb-7390519ea0a40c10c7f3d740cb29a6881446cc18.tar.bz2
* server.h (check_remote_input_interrupt_request): New function.
* remote_utils.c (INVALID_DESCRIPTOR): New define. (remote_desc): Initialize with INVALID_DESCRIPTOR. (input_interrupt): Expose on USE_WIN32API too. Fix whitespace. (check_remote_input_interrupt_request): New function. * server.h (check_remote_input_interrupt_request): Declare. * win32-low.(winapi_DebugBreakProcess, winapi_GenerateConsoleCtrlEvent): New typedefs. (get_child_debug_event): Lower Win32 debug event polling from 1 sec to 250 ms. (win32_wait): Check for remote interrupt request with check_remote_input_interrupt_request. (win32_request_interrupt): New function. (win32_target_op): Set request_interrupt to win32_request_interrupt.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index d433f30..b1ff238 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -161,6 +161,7 @@ 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);
void new_thread_notify (int id);