bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28386] New: Incorrect source file path in DWARF5 debuginfo for


From: robert at ocallahan dot org
Subject: [Bug gas/28386] New: Incorrect source file path in DWARF5 debuginfo for assembly file specified with relative path
Date: Sat, 25 Sep 2021 06:10:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28386

            Bug ID: 28386
           Summary: Incorrect source file path in DWARF5 debuginfo for
                    assembly file specified with relative path
           Product: binutils
           Version: 2.37
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: robert at ocallahan dot org
  Target Milestone: ---

Steps to reproduce:

$ cat > /tmp/test.S
.global foo
foo:
    ret
$ mkdir /tmp/obj
$ cd /tmp/obj
$ as -g -o test.o ../test.S -gdwarf-5
$ dwarfdump -i test.o

UNIT<header overall offset = 0x00000000>:
< 0><0x0000000c>  DW_TAG_compile_unit
                    DW_AT_stmt_list             <.debug_line+0x00000000>
                    DW_AT_low_pc                0x00000000
                    DW_AT_high_pc               <offset-from-lowpc>1
                    DW_AT_name                  test.S
                    DW_AT_comp_dir              /tmp/obj
                    DW_AT_producer              GNU AS 2.37.50
                    DW_AT_language              DW_LANG_Mips_Assembler

That's with binutils "gdb-11-branch", git revision
824d17dbdb375c6fb9c307473ac920114dc12478

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]