From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19242 invoked by alias); 16 Nov 2001 16:47:56 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19219 invoked from network); 16 Nov 2001 16:47:51 -0000 Received: from unknown (HELO odin.inter.net.il) (192.114.186.10) by sourceware.cygnus.com with SMTP; 16 Nov 2001 16:47:51 -0000 Received: from zaretsky ([192.116.55.139]) by odin.inter.net.il (Mirapoint) with ESMTP id ABS59808; Fri, 16 Nov 2001 18:47:43 +0200 (IST) Date: Tue, 06 Nov 2001 12:54:00 -0000 From: "Eli Zaretskii" To: muller@cerbere.u-strasbg.fr Message-Id: <2593-Fri16Nov2001184752+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: gdb@sourceware.cygnus.com, dj@delorie.com In-reply-to: <4.2.0.58.20011116135651.0128d658@ics.u-strasbg.fr> (message from Pierre Muller on Fri, 16 Nov 2001 14:07:07 +0100) Subject: Re: x86 hardware breakpoint question Reply-to: Eli Zaretskii References: <20011115125927.B3449@atlas.lcs.mit.edu> <20011115125927.B3449@atlas.lcs.mit.edu> <4.2.0.58.20011116135651.0128d658@ics.u-strasbg.fr> X-SW-Source: 2001-11/txt/msg00063.txt.bz2 > Date: Fri, 16 Nov 2001 14:07:07 +0100 > From: Pierre Muller > 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 > > > > > > 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.