From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27897 invoked by alias); 29 Nov 2011 15:06:14 -0000 Received: (qmail 27887 invoked by uid 22791); 29 Nov 2011 15:06:12 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Tue, 29 Nov 2011 15:05:56 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pATF5uea002037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 29 Nov 2011 10:05:56 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pATF5t9l008608; Tue, 29 Nov 2011 10:05:55 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id pATF5q7x020564; Tue, 29 Nov 2011 10:05:52 -0500 From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: multiple-location breakpoint output References: <20111123163917.GA13809@adacore.com> <20111123232406.GQ13809@adacore.com> <20111124105603.GA91879@adacore.com> <20111124163304.GR13809@adacore.com> <20111129031105.GN24943@adacore.com> Date: Tue, 29 Nov 2011 15:06:00 -0000 In-Reply-To: <20111129031105.GN24943@adacore.com> (Joel Brobecker's message of "Mon, 28 Nov 2011 19:11:05 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2011-11/txt/msg00816.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> Just for the record, I noticed that the output of the "break" command Joel> has been slightly adjusted when inserting a multi-location breakpoint. Joel> Now, instead of printing "file [...], line [...]", it just prints Joel> the linespec itself. Eg: Joel> (gdb) b pck.adb:6 Joel> Breakpoint 1 at 0x40213b: pck.adb:6. (3 locations) Joel> Another example, when inserting a breakpoint on a function which Joel> has homonyms: Joel> (gdb) b get_value Joel> Breakpoint 1 at 0x402160: get_value. (2 locations) Joel> This is probably intentional, and I think that it's an improvement, Joel> particularly in the second situation, where each breakpoint corresponds Joel> to different line locations. Yeah, that is exactly why I did it. Tom