[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/29559] New: gas generated incorrect debug info (top-level DW_TA
From: |
vries at gcc dot gnu.org |
Subject: |
[Bug gas/29559] New: gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE) |
Date: |
Thu, 08 Sep 2022 09:00:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29559
Bug ID: 29559
Summary: gas generated incorrect debug info (top-level
DW_TAG_unspecified_type DIE)
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
See the test-case in gdb PR29558.
Current trunk gas generates a top-level DIE with DW_TAG_unspecified_type:
...
Compilation Unit @ offset 0xf4:
Length: 0x35 (32-bit)
Version: 5
Unit Type: DW_UT_compile (1)
Abbrev Offset: 0xa3
Pointer Size: 8
<0><100>: Abbrev Number: 3 (DW_TAG_unspecified_type)
<0><101>: Abbrev Number: 1 (DW_TAG_compile_unit)
<102> DW_AT_stmt_list : 0x123
<106> DW_AT_low_pc : 0x4004ac
<10e> DW_AT_high_pc : 11
<10f> DW_AT_name : test2.s
<113> DW_AT_comp_dir : /home/vries/gdb_versions/devel
<117> DW_AT_producer : GNU AS 2.39.50
<11b> DW_AT_language : 32769 (MIPS assembler)
<1><11d>: Abbrev Number: 2 (DW_TAG_subprogram)
<11e> DW_AT_name : (indirect string, offset: 0x241): foo
<122> DW_AT_external : 1
<122> DW_AT_type : <0x100>
<123> DW_AT_low_pc : 0x4004ac
<12b> DW_AT_high_pc : 11
...
This is incorrect dwarf, according to the standard (see PR29558 comment 3).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/29559] New: gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE),
vries at gcc dot gnu.org <=
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), nickc at redhat dot com, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), cvs-commit at gcc dot gnu.org, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), nickc at redhat dot com, 2022/09/08
- [Bug gas/29559] gas generated incorrect debug info (top-level DW_TAG_unspecified_type DIE), vries at gcc dot gnu.org, 2022/09/08