This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug debug/39563] C block scopes have no DW_TAG_lexical_block



------- Comment #9 from jan dot kratochvil at redhat dot com  2009-04-02 21:09 -------
Fixed in FSF GDB HEAD:
http://sourceware.org/ml/gdb-patches/2009-03/threads.html#00595
http://sourceware.org/ml/gdb-patches/2009-04/threads.html#00040
http://sourceware.org/ml/gdb-cvs/2009-04/msg00021.html
        gdb/
        * dwarf2read.c
        (new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
        Create the symbol in local scope.
        * symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.

        gdb/testsuite/
        * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
        gdb.dwarf2/dw2-unresolved.exp: New.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39563


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