This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog win32-nat.c config/i386/cygw ...
- From: muller at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 4 Feb 2002 11:00:14 -0000
- Subject: src/gdb ChangeLog win32-nat.c config/i386/cygw ...
CVSROOT: /cvs/src
Module name: src
Changes by: muller@sources.redhat.com 2002-02-04 03:00:13
Modified files:
gdb : ChangeLog win32-nat.c
gdb/config/i386: cygwin.mh
Added files:
gdb/config/i386: nm-cygwin.h
Log message:
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
Add support for hardware watchpoints on win32 native.
* win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
CONTEXT_DEBUG_REGISTERS.
(dr variable): New variable. Static array containing a local copy
of debug registers.
(debug_registers_changed): New variable. Reflects when debug registers
are changed and need to be written to inferior.
(debug_registers_used): New variable. Reflects when any debug register
was set, used when new threads are created.
(cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
i386-nat code.
(thread_rec): Set dr array if id is the thread of current_event .
(child_continue, child_resume): Change the debug registers for all
threads if debug_registers_changed.
(child_add_thread): Change the debug registers if debug_registers_used.
* config/i386/cygwin.mh: Add use of i386-nat.o file.
Link nm.h to new nm-cygwin.h file.
+ config/i386/nm-cygwin.h: New file. Contains the macros used for use
of hardware registers.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2125&r2=1.2126
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/win32-nat.c.diff?cvsroot=src&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/i386/nm-cygwin.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/i386/cygwin.mh.diff?cvsroot=src&r1=1.5&r2=1.6