|
From: Petar J. <pe...@so...> - 2018-12-13 15:20:03
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c4ab123605d904024c21a2bcb37684d84c935194 commit c4ab123605d904024c21a2bcb37684d84c935194 Author: Petar Jovanovic <mip...@gm...> Date: Thu Dec 13 16:20:28 2018 +0100 mips64: fix build break introduced by be7a730 Follow up to commit be7a73004583aab5d4c97cf55276ca58d5b3090b that broke the build for mips64. Diff: --- coregrind/m_main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 22872a2..93998cf 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2328,11 +2328,16 @@ static void final_tidyup(ThreadId tid) sizeof(VG_(threads)[tid].arch.vex.guest_GPR12)); # endif /* mips-linux note: we need to set t9 */ -# if defined(VGP_mips32_linux) || defined(VGP_mips64_linux) +# if defined(VGP_mips32_linux) VG_(threads)[tid].arch.vex.guest_r25 = freeres_wrapper; VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, offsetof(VexGuestMIPS32State, guest_r25), sizeof(VG_(threads)[tid].arch.vex.guest_r25)); +# elif defined(VGP_mips64_linux) + VG_(threads)[tid].arch.vex.guest_r25 = freeres_wrapper; + VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, + offsetof(VexGuestMIPS64State, guest_r25), + sizeof(VG_(threads)[tid].arch.vex.guest_r25)); # endif /* Pass a parameter to freeres_wrapper(). */ |
|
From: Mark W. <ma...@kl...> - 2018-12-13 17:59:15
|
On Thu, 2018-12-13 at 15:19 +0000, Petar Jovanovic wrote: > mips64: fix build break introduced by be7a730 > > Follow up to > commit be7a73004583aab5d4c97cf55276ca58d5b3090b > > that broke the build for mips64. Oops. Sorry about that. I clearly didn't have a mips setup, or it would have been obvious that I broke something. Thanks for the fix. My apologies, Mark |