From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28555 invoked by alias); 20 Mar 2008 17:34:52 -0000 Received: (qmail 28511 invoked by uid 22791); 20 Mar 2008 17:34:49 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Mar 2008 17:34:18 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id AF47D17F530 for ; Thu, 20 Mar 2008 14:25:44 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m2KHYBYb3002508 for ; Thu, 20 Mar 2008 14:34:11 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m2KHYBUx014331 for ; Thu, 20 Mar 2008 14:34:11 -0300 Received: from [9.18.238.95] ([9.18.238.95]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m2KHYAMu014318; Thu, 20 Mar 2008 14:34:10 -0300 Subject: Re: Hardware watchpoint support for MIPS? From: Thiago Jung Bauermann To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20080320170105.GB25765@caradoc.them.org> References: <47E28F5F.3010209@avtrex.com> <20080320170105.GB25765@caradoc.them.org> Content-Type: text/plain Date: Thu, 20 Mar 2008 17:58:00 -0000 Message-Id: <1206034450.6643.187.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit 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/msg00180.txt.bz2 On Thu, 2008-03-20 at 13:01 -0400, Daniel Jacobowitz wrote: > 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. That's a problem in Power as well... What's currently there is simplistic and hardly adequate. -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center