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/DWARF2] Handle nested subprograms in CU pc bound calculation


On Tue, Sep 30, 2008 at 10:06:48AM -0700, Joel Brobecker wrote:
> Actually, now that I think of it, a slightly cleaner approach would
> probably be to extend the language vector to add a flag set to non-zero
> for the languages that want nested-subprogram handling.  The only slight
> issue is that the CU references the language enum, which means we need
> to go from that enum to the language_defn to get access to the flag.

I think you should stick with a language test in the DWARF reader.

-- 
Daniel Jacobowitz
CodeSourcery


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