https://issues.dlang.org/show_bug.cgi?id=13779
Issue ID: 13779
Summary: gdb can't print variables with "Could not find the
frame base for function" error
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
This only happens when linking with ld.gold.
Looks like the problem has something to do with this warning from readelf.
readelf: Warning: There are 76 unused bytes at the end of section .debug_loc
This is already present in the object file, but sometimes the linking seems to
fix it. If it doesn't (only happens with ld.gold) then gdb fails to find a
frame base.
--