From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28480 invoked by alias); 11 Sep 2008 05:01:00 -0000 Received: (qmail 28468 invoked by uid 22791); 11 Sep 2008 05:00:57 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Sep 2008 05:00:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 1FB2C2A969C; Thu, 11 Sep 2008 01:00:21 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id E7-N14Bh8QLc; Thu, 11 Sep 2008 01:00:21 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B9DC22A9697; Thu, 11 Sep 2008 01:00:20 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 7B85AE7ACD; Thu, 11 Sep 2008 07:00:18 +0200 (CEST) Date: Thu, 11 Sep 2008 05:01:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms Message-ID: <20080911050018.GR12222@adacore.com> References: <20080910201959.GC10133@adacore.com> <20080910203437.GA26162@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i 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: 2008-09/txt/msg00232.txt.bz2 > Daniel> Not that I see any useful way around it, if subprograms really > Daniel> can be children of lexical blocks. > > Can we do it only for languages where we know this can occur? > IOW, Ada? That's what I was going to propose, but I wanted to do some measurement too (tomorrow). Nested subprograms are possible in C, and aren't they also available in C++? I don't mind supporting this only in Ada, though. -- Joel