From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21106 invoked by alias); 2 Mar 2009 20:39:34 -0000 Received: (qmail 21096 invoked by uid 22791); 2 Mar 2009 20:39:33 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e24smtp03.br.ibm.com (HELO e24smtp03.br.ibm.com) (32.104.18.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Mar 2009 20:39:27 +0000 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by e24smtp03.br.ibm.com (8.13.1/8.13.1) with ESMTP id n22Kaj5c001928 for ; Mon, 2 Mar 2009 17:36:45 -0300 Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n22LcmBA2711738 for ; Mon, 2 Mar 2009 18:38:48 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n22KdOVi024035 for ; Mon, 2 Mar 2009 17:39:24 -0300 Received: from [9.18.200.51] ([9.18.200.51]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n22KdNxu024027; Mon, 2 Mar 2009 17:39:24 -0300 Subject: support for BookE hardware debug features From: Thiago Jung Bauermann To: gdb ml Cc: Luis Machado , =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= Content-Type: text/plain Date: Mon, 02 Mar 2009 20:39:00 -0000 Message-Id: <1236026362.8949.96.camel@localhost.localdomain> Mime-Version: 1.0 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: 2009-03/txt/msg00007.txt.bz2 Hi folks, This is a heads up message to mention some work we're doing to support more BookE hardware debug features for userspace debugging under Linux, which we intend to submit upstream. Perhaps someone out there has input on this, or even want to help us. :-) Right now GDB just supports one hardware watchpoint in embedded ppc processors. We're adding support for: - one more hardware watchpoint, - four hardware breakpoints, - support for the two DVCs (Data Value Compare), which enable hardware-accelerated conditions for hardware watchpoints, - two ranged hardware breakpoints, - one ranged hardware watchpoint. We're also working on the kernel side of the equation. We'll test it all on the ppc440 processor. We don't know yet how we'll extend gdb commands to express the ranged breakpoints and watchpoints, and the DVCs. For the latter maybe we can add some intelligence to use the registers if the condition expression is simple enough, I didn't think much about this yet. -- []'s Thiago Jung Bauermann IBM Linux Technology Center