* server.h (check_remote_input_interrupt_request): New function.
authorPedro Alves <palves@redhat.com>
Thu, 10 May 2007 22:04:50 +0000 (22:04 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 10 May 2007 22:04:50 +0000 (22:04 +0000)
commit7390519ea0a40c10c7f3d740cb29a6881446cc18
tree9361f68ea7230c94d47489f0c0f830344b268f49
parent34b34921087ce04e7a45cbb38a3b8af17b0c630a
* 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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.h
gdb/gdbserver/win32-low.c