From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24467 invoked by alias); 20 Mar 2008 17:01:32 -0000 Received: (qmail 24454 invoked by uid 22791); 20 Mar 2008 17:01:30 -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; Thu, 20 Mar 2008 17:01:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 53C69983C0 for ; Thu, 20 Mar 2008 17:01:06 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0860098298 for ; Thu, 20 Mar 2008 17:01:06 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JcO8X-0006iu-Cb for gdb@sourceware.org; Thu, 20 Mar 2008 13:01:05 -0400 Date: Thu, 20 Mar 2008 17:32:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: Hardware watchpoint support for MIPS? Message-ID: <20080320170105.GB25765@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <47E28F5F.3010209@avtrex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47E28F5F.3010209@avtrex.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-03/txt/msg00177.txt.bz2 On Thu, Mar 20, 2008 at 09:22:55AM -0700, David Daney wrote: > GDB has had support for i386 debug registers on linux for quite some time > now. > > I was wondering if anyone has worked on similar support for the hardware > debug support available in some MIPS processors? The issue's not GDB support, but kernel support. I've seen several proposals to expose watchpoint registers over ptrace on MIPS, but so far none of them have merged. The usual place they bog down is how to explain to GDB what capabilities are available; x86 has it easy, there's basically only one type. -- Daniel Jacobowitz CodeSourcery