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

jan dot kratochvil at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 26 22:57:00 GMT 2009



------- Comment #1 from jan dot kratochvil at redhat dot com  2009-03-26 22:57 -------
As DW_AT_external-DW_TAG_variable in the inner block is incompatible with
current GDB
http://sourceware.org/ml/gdb-patches/2009-03/msg00595.html

the current C++ method of DW_TAG_imported_declaration referencing the
file-level DW_AT_external-DW_TAG_variable may be more appropriate.


-- 


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



More information about the Gcc-bugs mailing list