From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4041 invoked by alias); 20 Oct 2004 13:12:25 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4028 invoked from network); 20 Oct 2004 13:12:23 -0000 Received: from unknown (HELO webmail.streamline-computing.com) (82.133.39.164) by sourceware.org with SMTP; 20 Oct 2004 13:12:23 -0000 Received: from amavis by webmail.streamline-computing.com with scanned-ok (Exim 3.35 #1 (Debian)) id 1CKGH0-0003SR-00; Wed, 20 Oct 2004 14:13:02 +0100 Received: from webmail.streamline-computing.com ([127.0.0.1]) by localhost (webmail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12036-07; Wed, 20 Oct 2004 14:13:02 +0100 (BST) Received: from [82.133.39.162] (helo=[192.168.1.74]) by webmail.streamline-computing.com with esmtp (Exim 3.35 #1 (Debian)) id 1CKGH0-0003SJ-00; Wed, 20 Oct 2004 14:13:02 +0100 Subject: Re: RFC: The Constructor Breakpoint Issue From: David Lecomber To: Daniel Jacobowitz Cc: patches In-Reply-To: <20041015145144.GB25188@nevyn.them.org> References: <1097714229.11117.99.camel@localhost.localdomain> <1097847699.1773.81.camel@localhost.localdomain> <20041015145144.GB25188@nevyn.them.org> Content-Type: text/plain Message-Id: <1098277715.628.20.camel@delmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Date: Wed, 20 Oct 2004 13:12:00 -0000 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Scanned by Amavis on Capitan at streamline-computing.com X-SW-Source: 2004-10/txt/msg00335.txt.bz2 Hi Dan > You can't tell from the line table. You can tell if you have both a > line table and a .debug_info section; in the case that is interesting > to you, the two PCs will be in different DW_TAG_subprogram trees. > Given the order in which we parse things I'm not sure if you'll be able > to check that easily. How about this idea.. Getting into the dwarf2 area looks like quite a major set of mods, which ultimately will be supported only by the dwarves, which is not good. However, inspection of the result of find_pc_function() suggests it is different on the occasions when it needs to be, such as in C++ constructors, and the same when we want it to be - such as the start and end of for loops. Cheers d. d.