https://bugs.kde.org/show_bug.cgi?id=375514

            Bug ID: 375514
           Summary: valgrind_get_tls_addr() does not work in case of
                    static TLS
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: aleksandar.rik...@imgtec.com
                CC: mips3...@gmail.com
  Target Milestone: ---

Created attachment 103619
  --> https://bugs.kde.org/attachment.cgi?id=103619&action=edit
GDB server - valgrind_get_tls_addr() fix for MIPS

This is about valgrind_get_tls_addr() from m_gdbserver/target.c.
valgrind_get_tls_addr() fails on MIPS (and maybe on some other platforms) when
given module uses static TLS. Proposed patch fixes problem for MIPS.
Changes are made according to td_thr_tlsbase() function from
GLIBC/nptl_db/td_thr_tlsbase.c.
Related test is gdbserver_tests/hgtls.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to