Bug 14330 – Wrong DWARF type of dynamic array variable
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2015-03-25T00:50:00Z
Last change time
2015-06-17T21:03:20Z
Keywords
pull, symdeb
Assigned to
nobody
Creator
mk
Comments
Comment #0 by mk — 2015-03-25T00:50:04Z
__gshared ulong globvar; //ulong triggers bug
void main()
{
string str = "something";
int i;
i++;
}
Breakpoint 1, D main () at dwarfbug.d:8
8 }
(gdb) info locals
str = 578532781965967369
i = 1
(gdb) ptype str
type = unsigned long long
dmd 2.066 and master, x86