]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips: fix target_get_drv() function
authorPetar Jovanovic <mips32r2@gmail.com>
Fri, 27 Jan 2017 17:55:13 +0000 (17:55 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Fri, 27 Jan 2017 17:55:13 +0000 (17:55 +0000)
commitfa4577c0d53c215d9007dfd33a2bd53b76534d39
treecaabc2de14e5b223a9e19043a3bf10fabb043157
parent795ee051e6885321bd8fec74fc107997492c2a13
mips: fix target_get_drv() function

Return correct Dtv location. Top of MIPS tcbhead structure is located
0x7000 bytes before the value of ULR. Dtv is the first of two pointers
in the tcbhead structure.

This fixes gdbserver_tests/hgtls on some MIPS platforms.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16212
coregrind/m_gdbserver/valgrind-low-mips32.c
coregrind/m_gdbserver/valgrind-low-mips64.c