[Issue 11910] Writes to extern (C) struct have no effect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 12 20:00:21 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11910
--- Comment #3 from Manu <turkeyman at gmail.com> 2014-01-12 20:00:13 PST ---
(In reply to comment #2)
> I'm building with DMD-Win64.
>
> Digging further, I see this instruction in the debugger:
> mov byte ptr [gDefaults+9Ch (7F685FBF01Ch)],1
Note: +9C in mine is because my structure is actually much larger, I trimmed it
down to log the bug. The offset 9C looks right.
The debugger also illustrated 'gDefaults' as the store address, which I guess
means the address it writes to does match the symbol record in the debug info.
I guess the address emitted for gDefaults is wrong somehow?
But... that symbol should come from the external C library :/
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list