This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog win32-nat.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 24 Nov 2007 12:13:28 -0000
- Subject: src/gdb ChangeLog win32-nat.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2007-11-24 12:13:28
Modified files:
gdb : ChangeLog win32-nat.c
Log message:
* win32-nat.c (DR6_CLEAR_VALUE): New define.
(thread_info_struct): Rename suspend_count to suspended, to be
used as a flag.
(thread_rec): Only suspend the thread if it wasn't suspended by
gdb before. Warn if suspending failed.
(win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
(win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the
`suspended' flag. Do ContinueDebugEvent after resuming the
suspended threads, not before. Set threads' contexts before
resuming them, not after.
(win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8955&r2=1.8956
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/win32-nat.c.diff?cvsroot=src&r1=1.139&r2=1.140