This is the mail archive of the 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: x86 hardware breakpoint question

At 15:54 16/11/01 -0500, Christopher Faylor wrote:
>On Fri, Nov 16, 2001 at 06:47:52PM +0200, Eli Zaretskii wrote:
>>>    cygwin that completely relies on win32 API calls does not support
>>> hardware breakpoint (nor watchpoints)
>>> because there is no API call to set a hardware trap.
>>I think this is just because no one implemented Cygwin support for the
>>new facilities on i386-nat.c.  When this was discussed a few months
>>ago, someone, I think DJ Delorie, posted a list of Win32 API entries
>>that support hardware watchpoints and breakpoints.
>I can't find this, Eli.  Can you provide any clues on what to look for?
>I'd like to have hardware brekpoints into cygwin if I can.

I had pseudo-hardware watchpoints working using the page protection
mechanisms available with the VirtualXXX functions.

 I am trying to get up to date my old code that added
"hardware" watchpoints with VirtualProtectEx.
As soon as this works correctly again, I will send 
a patch, even if my code is far from optimal,
because otherwise it will again get lost in 
confilcts with future changes...

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