[gdbserver/win32] (5/11) New interrupting method : elevating the priority

Daniel Jacobowitz drow@false.org
Sat Dec 1 18:58:00 GMT 2007


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



More information about the Gdb-patches mailing list