[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir
From: |
vries at gcc dot gnu.org |
Subject: |
[Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir |
Date: |
Fri, 26 Nov 2021 06:50:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28629
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Then let's look at the .debug_line section:
...
$ readelf -wl tui-layout-asm-short-prog.o
The Directory Table (offset 0x22, lines 2, columns 1):
Entry Name
0 /home/vries/gdb_versions/devel
1 /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.tui
The File Name Table (offset 0x30, lines 2, columns 2):
Entry Dir Name
0 0 tui-layout-asm-short-prog.S
1 1 tui-layout-asm-short-prog.S
...
It's the same problem. File 0 has dir 0, which spells out the non-existent
/home/vries/gdb_versions/devel/tui-layout-asm-short-prog.S.
For completeness, the comparison with dwarf 4 here as well:
...
The Directory Table (offset 0x1c):
1 /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.tui
The File Name Table (offset 0x56):
Entry Dir Time Size Name
1 1 0 0 tui-layout-asm-short-prog.S
...
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/28629] New: [gas, --gdwarf-5] File 0 has wrong dir, vries at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir,
vries at gcc dot gnu.org <=
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, vries at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, vries at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, cvs-commit at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, vries at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, vries at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, hjl.tools at gmail dot com, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, cvs-commit at gcc dot gnu.org, 2021/11/26
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, jeffreyalaw at gmail dot com, 2021/11/28
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, cvs-commit at gcc dot gnu.org, 2021/11/28
- [Bug gas/28629] [gas, --gdwarf-5] File 0 has wrong dir, hjl.tools at gmail dot com, 2021/11/29