From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20372 invoked by alias); 11 Sep 2008 22:28:07 -0000 Received: (qmail 20363 invoked by uid 22791); 11 Sep 2008 22:28:07 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Sep 2008 22:27:28 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C6DF11019E; Thu, 11 Sep 2008 22:27:25 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 9DD561019D; Thu, 11 Sep 2008 22:27:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KdudI-0005ns-Qv; Thu, 11 Sep 2008 18:27:24 -0400 Date: Thu, 11 Sep 2008 22:28:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms Message-ID: <20080911222724.GA22289@caradoc.them.org> Mail-Followup-To: Tom Tromey , Joel Brobecker , gdb-patches@sourceware.org References: <20080910201959.GC10133@adacore.com> <20080910203437.GA26162@caradoc.them.org> <20080911050018.GR12222@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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/msg00245.txt.bz2 On Thu, Sep 11, 2008 at 04:13:24PM -0600, Tom Tromey wrote: > GNU C has nested functions. Standard C does not. I wrote a simple > test case and compiled it with GCC. The resulting DWARF (I appended a > snippet) does not nest functions here .. but perhaps this is a bug in > GCC, I couldn't say. Doesn't it? > <1><4a>: Abbrev Number: 2 (DW_TAG_subprogram) > <2><69>: Abbrev Number: 3 (DW_TAG_subprogram) -- Daniel Jacobowitz CodeSourcery