From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9921 invoked by alias); 10 Sep 2007 04:47:54 -0000 Received: (qmail 9909 invoked by uid 22791); 10 Sep 2007 04:47:53 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate8.de.ibm.com (HELO mtagate8.de.ibm.com) (195.212.29.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Sep 2007 04:47:46 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.13.8/8.13.8) with ESMTP id l8A4lgea112874 for ; Mon, 10 Sep 2007 04:47:42 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l8A4lgn41839256 for ; Mon, 10 Sep 2007 06:47:42 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l8A4lgrQ012879 for ; Mon, 10 Sep 2007 06:47:42 +0200 Received: from bbkeks.boeblingen.de.ibm.com (dyn-9-152-248-39.boeblingen.de.ibm.com [9.152.248.39]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l8A4lfeg012874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Sep 2007 06:47:42 +0200 Message-ID: <46E4CC11.8050502@de.ibm.com> Date: Mon, 10 Sep 2007 04:47:00 -0000 From: Markus Deuling User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Vladimir Prus CC: gdb-patches@sources.redhat.com Subject: Re: [0/9] Breakpoints at multiple locations References: <200709080011.13700.vladimir@codesourcery.com> <200709081831.47826.vladimir@codesourcery.com> In-Reply-To: <200709081831.47826.vladimir@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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: 2007-09/txt/msg00133.txt.bz2 Hi Vladimir, great patch set. I'll test it for our ppc64/spu target. I guess it will be very suitable :-) Vladimir Prus schrieb: > > Once the library is unloaded, we get: > > Num Type Disp Enb Address What > 1 breakpoint keep y > breakpoint already hit 2 times > 1.1 y(p) 0xb7f9856d helper.hpp:4 > 1.2 n(p) 0xb7f98588 helper.hpp:4 Just an idea but for my opinion it would be great to have a hit-counter per location like: Num Type Disp Hit Enb Address What 1 breakpoint keep 8 y 1.1 5 y(p) 0xb7f9856d helper.hpp:4 1.2 3 n(p) 0xb7f98588 helper.hpp:4 The entity could add up the counts of all locations. This would also get rid of the annoying "breakpoint already hit xy times" line :-) What do you think? -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com