diff options
author | Pedro Alves <palves@redhat.com> | 2007-12-03 01:18:49 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2007-12-03 01:18:49 +0000 |
commit | 4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4 (patch) | |
tree | c348e2a5c5bade08234572c7114c7593c2404f93 /gdb/gdbserver/ChangeLog | |
parent | c436e841ffe6de640cb19bd7915d117309ed079e (diff) | |
download | gdb-4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4.zip gdb-4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4.tar.gz gdb-4d5d1aaa19eac2f7bbdace73e44d4057bcd7a9c4.tar.bz2 |
* win32-low.c (soft_interrupt_requested, faked_breakpoint): New
global variables.
(child_add_thread): Minor cleanup.
(child_continue): Resume artificially suspended threads before
calling ContinueDebugEvent.
(suspend_one_thread): New.
(fake_breakpoint_event): New.
(get_child_debug_event): Change return type to int. Check here if
gdb sent an interrupt request. If a soft interrupt was requested,
fake a breakpoint event. Return 0 if there is no event to handle,
and 1 otherwise.
(win32_wait): Don't check here if gdb sent an interrupt request.
Ensure there is a valid event to handle.
(win32_request_interrupt): Add soft interruption method as last
resort.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 86f4d72..eb79471 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,6 +1,25 @@ 2007-12-03 Leo Zayas Pedro Alves <pedro_alves@portugalmail.pt> + * win32-low.c (soft_interrupt_requested, faked_breakpoint): New + global variables. + (child_add_thread): Minor cleanup. + (child_continue): Resume artificially suspended threads before + calling ContinueDebugEvent. + (suspend_one_thread): New. + (fake_breakpoint_event): New. + (get_child_debug_event): Change return type to int. Check here if + gdb sent an interrupt request. If a soft interrupt was requested, + fake a breakpoint event. Return 0 if there is no event to handle, + and 1 otherwise. + (win32_wait): Don't check here if gdb sent an interrupt request. + Ensure there is a valid event to handle. + (win32_request_interrupt): Add soft interruption method as last + resort. + +2007-12-03 Leo Zayas + Pedro Alves <pedro_alves@portugalmail.pt> + * win32-low.h (win32_thread_info): Add descriptions to the structure members. Replace `suspend_count' counter by a `suspended' flag. |