From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22847 invoked by alias); 23 Aug 2008 02:13:55 -0000 Received: (qmail 22838 invoked by uid 22791); 23 Aug 2008 02:13:54 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 23 Aug 2008 02:13:05 +0000 Received: from mailhub1.br.ibm.com (unknown [9.18.232.109]) by igw3.br.ibm.com (Postfix) with ESMTP id 2109D390065 for ; Fri, 22 Aug 2008 22:52:46 -0300 (BRST) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m7N2D3Xr2187280 for ; Fri, 22 Aug 2008 23:13:03 -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 m7N2Cvn6016995 for ; Fri, 22 Aug 2008 23:12:57 -0300 Received: from [9.8.4.99] ([9.8.4.99]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m7N2CsF3016780; Fri, 22 Aug 2008 23:12:55 -0300 Subject: Re: Watch point support for PPC and Linux with GDB From: Thiago Jung Bauermann To: Jeff Dallacqua Cc: gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 25 Aug 2008 17:51:00 -0000 Message-Id: <1219457551.8167.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 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-08/txt/msg00270.txt.bz2 On Wed, 2008-08-20 at 09:33 -0700, Jeff Dallacqua wrote: > Can anybody give me some specifics about what sort of watch > point support GDB 6.7.1 has running on a Freescale 8540 with Linux? > Neither hardware nor software watch points seem to behave properly, > even though both can be set. The watch points can be set but execution > never stops when those memory locations are written to or read from. > Looking over previous postings it seems like perhaps hardware watch > points aren't supported but I'm not even able to get them to work in > software. Luis recently committed a patch adding basic support for BookE hardware watchpoint: http://sourceware.org/ml/gdb-patches/2008-08/msg00087.html You would also need this fix from Ulrich: http://sourceware.org/ml/gdb-patches/2008-08/msg00321.html And Luis' kernel patch which is mentioned in the first link. It will show up in 2.6.27. I don't know about the software watchpoint issues... -- []'s Thiago Jung Bauermann IBM Linux Technology Center