[Issue 13779] New: gdb can't print variables with "Could not find the frame base for function" error
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Nov 26 12:03:12 PST 2014
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: nobody at puremagic.com
Reporter: code at dawg.eu
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.
--
More information about the Digitalmars-d-bugs
mailing list