[Bug debug/19124] [4.0 regression] gcc generates incorrect dwarf2 debug info

dberlin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 10 18:32:00 GMT 2005


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-01-10 18:32 -------
The patch is correct, the code printing "without DW_AT_frame_base" is wrong.

Note that while the immediate container of the variable, the
DW_TAG_inlined_subroutine, does not have a frame_base attribute, *it's*
container, the DW_TAG_subprogram, does.
The code i have int he patch notices this.
In other words, there is a frame base that should be associated with this
location list.
I see nothing in the standard that disallows this, though i'm happy to ask the
standards committee mailing list if you believe i am in error :)

-- 


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



More information about the Gcc-bugs mailing list