[Bug debug/94474] Incorrect DWARF range information for inlined function
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Mon Apr 6 11:04:51 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94474
--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Andrew Burgess from comment #2)
> Sorry for including the wrong DWARF dump output in the bug report. I too
> had seen the DW_AT_GNU_entry_view using a more recent binutils.
>
NP.
> When you pose the question:
>
> I am not sure if there are any view numbers when the inline has multiple
> ranges, (I dont remember)
>
> I think you're asking do we get DW_AT_GNU_entry_view when we have multiple
> ranges. And the answer is yes, this case already has multiple ranges (it
> has a DW_AT_ranges, which contains multiple ranges), and this is super
> confusing, because each range could, I guess, could have a different view
> number for its start, right?
>
I am talking about the end of the range each of the subranges
They should have view numbers, gdb should note the view number
when parsing the line program.
I think we need an DW_AT_GNU_exit_view, you know, young jedi :-)
Bernd.
More information about the Gcc-bugs
mailing list