Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Unified Diff: tests/thread_capture/nacl_thread_capture_test_injection_test.c

Issue 12667019: [MIPS] Support for building tests for MIPS (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: updates to sandboxed_mips.S. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« tests/syscall_return_sandboxing/sandboxed_mips.S ('K') | « tests/thread_capture/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698