digitalmars.D.bugs - [Issue 13779] New: gdb can't print variables with "Could not find
- via Digitalmars-d-bugs (21/21) Nov 26 2014 https://issues.dlang.org/show_bug.cgi?id=13779
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 puremagic.com Reporter: code 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. --
Nov 26 2014