Index: tests/thread_capture/nacl_thread_capture_test_injection_test.c |
diff --git a/tests/thread_capture/nacl_thread_capture_test_injection_test.c b/tests/thread_capture/nacl_thread_capture_test_injection_test.c |
index aa25a8187401758cafb998f1d63bc277aa5eabef..4e96660430ad8cdd0dee635eed91c7d4fd328f2a 100644 |
--- a/tests/thread_capture/nacl_thread_capture_test_injection_test.c |
+++ b/tests/thread_capture/nacl_thread_capture_test_injection_test.c |
@@ -44,6 +44,8 @@ void NaClSignalHandler(int signum, siginfo_t *info, void *other) { |
# endif |
# elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm |
faulting_pc = ucp->uc_mcontext.arm_pc; |
+# elif NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips |
+ faulting_pc = ucp->uc_mcontext.pc; |
# else |
# error "how do i get the PC on this cpu architecture?" |
# endif |