http://d.puremagic.com/issues/show_bug.cgi?id=4212
Summary: DWARF: void arrays cause gdb errors Product: D Version: 1.057 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nfx...@gmail.com --- Comment #0 from nfx...@gmail.com 2010-05-20 12:04:46 PDT --- (This bug report is for dmd 1.061) This code: extern (C) void abort(); struct X { union { void[] a; void[a.sizeof] b; } } void foo(X b) { abort(); } void main() { foo(X.init); } Makes gdb output "Dwarf Error: Cannot find DIE at 0x0 referenced from DIE at 0x68 [in module /tmp/test/dr]" when the abort() jumps back into the debugger, and you request a stacktrace with "bt". I suspect something is wrong with static void[] arrays. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------