From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13108 invoked by alias); 24 Nov 2010 08:21:13 -0000 Received: (qmail 13096 invoked by uid 22791); 24 Nov 2010 08:21:11 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Nov 2010 08:21:06 +0000 Received: by ywi6 with SMTP id 6so9441391ywi.0 for ; Wed, 24 Nov 2010 00:21:05 -0800 (PST) Received: by 10.150.135.9 with SMTP id i9mr424567ybd.397.1290586864959; Wed, 24 Nov 2010 00:21:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.9.8 with HTTP; Wed, 24 Nov 2010 00:20:44 -0800 (PST) In-Reply-To: <201011181438.35585.pedro@codesourcery.com> References: <201011181343.25109.pedro@codesourcery.com> <201011181438.35585.pedro@codesourcery.com> From: DeD MustDIE Date: Wed, 24 Nov 2010 08:21:00 -0000 Message-ID: Subject: Re: How to enable hardware breakpoint support To: Pedro Alves Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00094.txt.bz2 Thank you very much. I will find another way to debug. On Thu, Nov 18, 2010 at 17:38, Pedro Alves wrote: > 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. =A0I 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. =A0There's an x86_64-freebsd port in mainline > indeed. =A0 But, it doesn't seem to install the necessary hooks for > hardware breakpoints or watchpoints support. =A0Don't know > more than that though. =A0And I didn't check older gdb's either. > > -- > Pedro Alves >