From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20217 invoked by alias); 6 Aug 2012 20:28:00 -0000 Received: (qmail 20207 invoked by uid 22791); 6 Aug 2012 20:28:00 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 06 Aug 2012 20:27:46 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q76KRe9a021695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Aug 2012 16:27:40 -0400 Received: from host2.jankratochvil.net (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q76KRYqm000731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 6 Aug 2012 16:27:37 -0400 Date: Mon, 06 Aug 2012 20:28:00 -0000 From: Jan Kratochvil To: Luis Gustavo Cc: gdb-patches@sourceware.org, prasad@linux.vnet.ibm.com, benh@kernel.crashing.org Subject: Re: [PATCH, ppc] Fix hw *points for embedded ppc in a threaded environment. Message-ID: <20120806202734.GB2079@host2.jankratochvil.net> References: <501FD5D6.30005@mentor.com> <20120806170405.GA9225@host2.jankratochvil.net> <502014B3.1090109@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <502014B3.1090109@mentor.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00200.txt.bz2 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. 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. Thanks, Jan