This is the mail archive of the
mailing list for the GDB project.
Re: x86 hardware breakpoint question
> Date: Fri, 16 Nov 2001 14:07:07 +0100
> From: Pierre Muller <email@example.com>
> Cc: firstname.lastname@example.org
> At 20:26 15/11/2001 , Eli Zaretskii a crit:
> > > Date: Thu, 15 Nov 2001 12:59:27 -0500
> > > From: Steven Bauer <email@example.com>
> > >
> > > Quick question, does gdb support hardware breakpoints on
> > > x86 architectures?
> >Current GDB snapshots and the pretest of GDB 5.1 should support
> >them. What version do you use and on what platform?
> But this depends on the TARGET OS:
Well, I did ask about the platform ;-)
> 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.