This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]