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


> Date: Fri, 16 Nov 2001 14:07:07 +0100
> From: Pierre Muller <muller@cerbere.u-strasbg.fr>
> Cc: gdb@sourceware.cygnus.com
> 
> At 20:26 15/11/2001 , Eli Zaretskii a crit:
> > > Date: Thu, 15 Nov 2001 12:59:27 -0500
> > > From: Steven Bauer <bauer@atlas.lcs.mit.edu>
> > >
> > > 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.


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