This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 2] Debug register support in win32-nat.c (need opinions)


At 18:20 30/01/2002 , vous avez écrit:
>On Mon, Jan 14, 2002 at 09:33:27AM +0100, Pierre Muller wrote:
> >Christopher, does this answer your concerns?
>
>I don't think I saw any dissenting opinions, so go ahead and check
>your changes in, Pierre.

OK, I checked this in with the minor modifications in the code discussed and with this
modified log entry.

PS:
   I must confess that I was unable to recheck my patch as there seems to be a 
configure problem for cygwin lately.


2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
         Add support for hardware watchpoints for 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.



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]