This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [gdbserver/win32] (5/11) New interrupting method : elevating the priority
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org, Lerele <lerele at champenstudios dot com>
- Date: Sat, 1 Dec 2007 13:58:09 -0500
- Subject: Re: [gdbserver/win32] (5/11) New interrupting method : elevating the priority
- References: <4737B563.4070909@portugalmail.pt>
On Mon, Nov 12, 2007 at 02:07:31AM +0000, Pedro Alves wrote:
> 2007-11-12 Leo Zayas <lerele@champenstudios@com>
> Pedro Alves <pedro_alves@portugalmail.pt>
>
> * win32-low.c (winapi_SetProcessPriorityBoost)
> (winapi_GetProcessPriorityBoost, winapi_SetProcessAffinityMask)
> [!_WIN32_WCE]: New typedefs.
> (interrupt_thread_event) [!_WIN32_WCE]: New global.
> (consume_cpu_interrupt_thread) [!_WIN32_WCE]: New.
> (realtime_execute) [!_WIN32_WCE]: New.
> (winapi_CeSetThreadPriority, winapi_CeGetThreadPriority)
> [_WIN32_WCE]: New typedefs.
> (realtime_execute) [_WIN32_WCE]: New.
> (do_continue_one_thread): New.
> (child_continue): If continuing with a faked breakpoint, do the
> thread resuming with higher priority, and don't call
> ContinueDebugEvent.
> (suspend_all_threads): New.
> (fake_breakpoint_event): Do the thread suspending with higher
> priority.
I'm just going to have to trust you on this one. It looks fine.
--
Daniel Jacobowitz
CodeSourcery