From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17483 invoked by alias); 15 Jan 2006 16:33:28 -0000 Received: (qmail 17475 invoked by uid 22791); 15 Jan 2006 16:33:28 -0000 X-Spam-Check-By: sourceware.org Received: from sadr.equallogic.com (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 15 Jan 2006 16:33:25 +0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id k0FGXNpG018940 for ; Sun, 15 Jan 2006 11:33:23 -0500 Received: from M31.equallogic.com (M31.equallogic.com [172.16.1.31]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id k0FGXNih018933; Sun, 15 Jan 2006 11:33:23 -0500 Received: from PKONING.equallogic.com ([172.16.3.19]) by M31.equallogic.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 15 Jan 2006 11:33:22 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17354.31047.417000.385481@gargle.gargle.HOWL> Date: Sun, 15 Jan 2006 16:33:00 -0000 From: Paul Koning To: comar@adacore.com Cc: hilfingr@gnat.com, gdb@sourceware.org Subject: Re: : Re: [RFC] multiple breakpoints from FILE:LINE Newsgroups: <20060113104212.0B28848CBD8@nile.gnat.com> References: <43C9AAA8.2030605@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00119.txt.bz2 >>>>> "Cyrille" == Cyrille Comar writes: >>> Those menus have got to go. They're (a) confusing to users (in >>> my opinion, no real data), and (b) extremely awkward for >>> graphical frontends.... Cyrille> I agree with Daniel's (a) & (b). I have never grumbled Cyrille> before on this topic because I did not have anything Cyrille> constructive to contribute. This thread gave me an Cyrille> idea. Here it is: Cyrille> I believe it would be worthwhile to have 2 different break Cyrille> commands: - break - break-multiple (or whatever other more Cyrille> appropriate name) Cyrille> break-multiple would have the semantics advocated by Daniel Cyrille> (break automatically on all relevant locations) Cyrille> break, instead of presenting a menu, would issue an error of Cyrille> the kind: Cyrille> (gdb) break FILENAME:LINENUM multiple choices for this Cyrille> breakpoint, please use any of the following: break-multiple Cyrille> FILENAME:LINENUM break FILENAME:instance1.function:LINENUM Nice. What syntax would you use for the two constructors, and three destructors, that have the same C++ names? paul