From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25132 invoked by alias); 10 Sep 2007 07:44:22 -0000 Received: (qmail 25116 invoked by uid 22791); 10 Sep 2007 07:44:21 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Sep 2007 07:44:13 +0000 Received: (qmail 24523 invoked from network); 10 Sep 2007 07:44:11 -0000 Received: from unknown (HELO h38.net64.aknet.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Sep 2007 07:44:11 -0000 From: Vladimir Prus To: Markus Deuling Subject: Re: [0/9] Breakpoints at multiple locations Date: Mon, 10 Sep 2007 07:44:00 -0000 User-Agent: KMail/1.9.6 Cc: gdb-patches@sources.redhat.com References: <200709080011.13700.vladimir@codesourcery.com> <200709081831.47826.vladimir@codesourcery.com> <46E4CC11.8050502@de.ibm.com> In-Reply-To: <46E4CC11.8050502@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709101207.17128.vladimir@codesourcery.com> 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/msg00134.txt.bz2 On Monday 10 September 2007 08:46:09 Markus Deuling wrote: > 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? That can possibly be interesting, but how will you handle 'ignore' count then? Should it be per-location, too? I actually don't think those patches are final -- I expect some UI tweaks to be made when this feature is more used. - Volodya