From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9044 invoked by alias); 7 Aug 2012 14:55:02 -0000 Received: (qmail 8920 invoked by uid 22791); 7 Aug 2012 14:55:00 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Aug 2012 14:54:46 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1SylBF-0002IV-Bp from Luis_Gustavo@mentor.com ; Tue, 07 Aug 2012 07:54:45 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 Aug 2012 07:54:45 -0700 Received: from [0.0.0.0] ([172.16.63.104]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 Aug 2012 07:54:44 -0700 Message-ID: <50212C53.3020109@mentor.com> Date: Tue, 07 Aug 2012 14:55:00 -0000 From: Luis Gustavo Reply-To: "Gustavo, Luis" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: [PATCH, ppc] Fix hw *points for embedded ppc in a threaded environment. References: <501FD5D6.30005@mentor.com> <20120806170405.GA9225@host2.jankratochvil.net> <502014B3.1090109@mentor.com> <20120806202734.GB2079@host2.jankratochvil.net> In-Reply-To: <20120806202734.GB2079@host2.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2012-08/txt/msg00228.txt.bz2 On 08/06/2012 05:27 PM, Jan Kratochvil wrote: > On Mon, 06 Aug 2012 21:02:11 +0200, Luis Gustavo wrote: >> The ones you listed are server processors, and they use the old >> kernel interface. Examples of BookE's are the 4xx family (405, 440, >> 460, 476 etc...) > > OK, thanks for info. I do not think I have those available. > > >> An appropriate test would be to run many threads and create the >> maximum amount of hw watchpoints and see if that works fine, but >> GDB's debug resource accounting is still a little awkward > > One can test the number of registers in singlethreaded testcase and then run > the real test with multithreaded program. Sounds good. > > A testcase would be nice, for example now the changes in > archer-jankratochvil-watchpoint3 and pre-requisite of non-stop compatibility > of hw watchpoints mean a lot of hw watchpoints rewrite in ppc-linux-nat.c. > > But if you are not going to write a testcase then I find it OK for both HEAD > and 7.5. I'm ok with coming up with that testcase. Should we go ahead and have this in and the test commited shortly afterwards? Luis