From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25080 invoked by alias); 16 Apr 2008 22:20:11 -0000 Received: (qmail 25069 invoked by uid 22791); 16 Apr 2008 22:20:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 Apr 2008 22:19:49 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EB617982C4; Wed, 16 Apr 2008 22:19:46 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C33E898278; Wed, 16 Apr 2008 22:19:46 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JmFyj-0000Rt-Rd; Wed, 16 Apr 2008 18:19:45 -0400 Date: Wed, 16 Apr 2008 23:00:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: gdb@sourceware.org Subject: Re: Does hardware watchpoint work on Linux/x86-64? Message-ID: <20080416221945.GA1708@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , gdb@sourceware.org References: <6dc9ffc80804161505h739a3aa0t86556f71d6422772@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6dc9ffc80804161505h739a3aa0t86556f71d6422772@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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: 2008-04/txt/msg00161.txt.bz2 Yes, hardware watchpoints work on x86-64. On Wed, Apr 16, 2008 at 03:05:23PM -0700, H.J. Lu wrote: > (gdb) watch section_headers > During symbol reading, DW_AT_type missing from DW_TAG_subrange_type. > Watchpoint 1: section_headers Figure out what sort of symbol GDB thinks this is. It thinks it's too complicated to use a hardware watchpoint for. Does it have a location list (odd for a global variable)? -- Daniel Jacobowitz CodeSourcery