From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4359 invoked by alias); 9 Dec 2010 01:44:11 -0000 Received: (qmail 4350 invoked by uid 22791); 9 Dec 2010 01:44:10 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD 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; Thu, 09 Dec 2010 01:44:06 +0000 Received: from mailhub1.br.ibm.com (mailhub1.br.ibm.com [9.18.232.109]) by e24smtp03.br.ibm.com (8.14.4/8.13.1) with ESMTP id oB91YdE3020082 for ; Wed, 8 Dec 2010 23:34:39 -0200 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.8.31.91]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oB91p9Hv1065208 for ; Wed, 8 Dec 2010 23:51:09 -0200 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oB91hmgP024501 for ; Wed, 8 Dec 2010 23:43:49 -0200 Received: from [9.8.14.119] ([9.8.14.119]) by d24av01.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oB91hmaq024494; Wed, 8 Dec 2010 23:43:48 -0200 Subject: Re: [patch 2/3] Implement support for PowerPC BookE ranged watchpoints From: Thiago Jung Bauermann To: Pedro Alves Cc: gdb-patches@sourceware.org, Jan Kratochvil , Joel Brobecker , Eli Zaretskii In-Reply-To: <201011271747.39053.pedro@codesourcery.com> References: <1290549100.3164.47.camel@hactar> <201011251731.58135.pedro@codesourcery.com> <1290806122.3009.37.camel@hactar> <201011271747.39053.pedro@codesourcery.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 09 Dec 2010 01:44:00 -0000 Message-ID: <1291859039.3199.54.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00101.txt.bz2 On Sat, 2010-11-27 at 17:47 +0000, Pedro Alves wrote: > On Friday 26 November 2010 21:15:22, Thiago Jung Bauermann wrote: > > So in your opinion, the watch command should always use two watchpoint > > registers to set up a ranged watchpoint in BookE ppc? I'm a bit > > reluctant to use all the watchpoint registers to set up one > > watchpoint... > > Blame the hardware designers, not me. :-) Well, you know hardware designers. They're transistor counters. :-) > WDYT? Sounds reasonable? I'd prefer doing these changes > as first step. Thank you very much for the detailed plans! I'm very sorry about my delay answering this. I'm waiting for internal feedback about this option. > I haven't looked yet at what kind of masks > masked watchpoints support, but if they only support masks in the form > of (binary) 11110000, 1111111100, etc. (no alternating 1s and 0s), > then no target_insert_watchpoint or remote protocol change is > required either for those. Masked watchpoints support arbitrary masks, so they warrant their own place under the sun. :-) They be considered independently of ranged watchpoints then. -- []'s Thiago Jung Bauermann IBM Linux Technology Center