[Bug cli/32874] Duplicated "info line" results
vries at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Jun 1 20:10:39 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=32874
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Peter Saladin from comment #9)
> (In reply to Tom de Vries from comment #8)
>
> Sorry this took so long - IAR responded quickly but I forgot to forward it.
> According to IAR support:
> "The current solution in C-SPY is to break .debug_info into one chunk
> per function/global, unused stuff is not included, and its debug info
> is also discarded. Only included content has debug info. This has
> worked well for us and as we understand it, it is standard
> compliant."
>
> They also refer to the following paragraph:
> "3.1.1 Normal and Partial Compilation Unit Entries" in
> * https://dwarfstd.org/doc/DWARF4.pdf:
> ===
> In a compilation employing the DWARF space compression and duplicate
> elimination techniques from Appendix E, multiple compilation units
> using the tags DW_TAG_compile_unit and/or DW_TAG_partial_unit are used
> to represent portions of an object file.
> ===
>
> Does that change the understanding of the issue?
No, I know that part and it seems obvious to me that it doesn't apply.
I understand what they're doing, and I'm sure it works, but calling it standard
compliant is far fetched at best, and the consequence of it is precisely the
behaviour described in this PR.
I'm closing this at resolved-wontfix.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list