https://issues.dlang.org/show_bug.cgi?id=4181
--- Comment #16 from [email protected] --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/aa9812bef7e8aadb1495c474f7587f8481077ab8 Fix Issue 4181 - GDB prints wrong value of TLS variables - add DWARF_VERSION to dwarf.h - emit DW_OP_GNU_push_tls_address or DW_OP_form_tls_address based on DWARF_VERSION https://github.com/D-Programming-Language/dmd/commit/11842652cdc58f479590af618c79335ba44af03f Merge pull request #4053 from tramker/bug4181 Fix Issue 4181 - GDB prints wrong value of TLS variables --
