[Issue 4181] GDB prints wrong value of TLS variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 12 02:36:51 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=4181


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at ubuntu.com


--- Comment #3 from Iain Buclaw <ibuclaw at ubuntu.com> 2014-01-12 02:36:32 PST ---
(In reply to comment #2)
> placed $50 bounty

Something is completely fudged with -g in DMD.

Just doing a cursory check on 2.064:

(gdb) p 'test.STest.y'
Cannot access memory at address 0x736574050065b510
(gdb) p 'test.x'
Cannot access memory at address 0x34445f040065b510


Cannot reproduce with -gc, and of course, GDC is just fine.

Personally I would like to see -gc deprecated and all features of -gc moved
over to -g, excluding the setting of DW_LANG_C89.

-- 
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