From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25260 invoked by alias); 18 Nov 2010 14:38:44 -0000 Received: (qmail 25252 invoked by uid 22791); 18 Nov 2010 14:38:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Nov 2010 14:38:39 +0000 Received: (qmail 8558 invoked from network); 18 Nov 2010 14:38:37 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Nov 2010 14:38:37 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: How to enable hardware breakpoint support Date: Thu, 18 Nov 2010 14:38:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.33-29-realtime; KDE/4.4.5; x86_64; ; ) Cc: DeD MustDIE References: <201011181343.25109.pedro@codesourcery.com> In-Reply-To: <201011181343.25109.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011181438.35585.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00077.txt.bz2 On Thursday 18 November 2010 13:43:24, Pedro Alves wrote: > On Thursday 18 November 2010 13:18:55, DeD MustDIE wrote: > > Thank you. > > I was not careful. On workstation (Ubuntu) hardware breakpoints work > > fine. I really forgot to run program. > > But on server (FreeBSD) hardware breakpoints still not working. > > AFAICS, an x86 FBSD gdb should support hardware breakpoints and > watchpoints. I don't see an x64_64/amd64 FreeBSD port in the FSF GDB > tree, so it may be your GDB has local changes to support it > that missed adding the HW breakpoint support. Actually, that's nonsense. There's an x86_64-freebsd port in mainline indeed. But, it doesn't seem to install the necessary hooks for hardware breakpoints or watchpoints support. Don't know more than that though. And I didn't check older gdb's either. -- Pedro Alves