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

Unified Diff: tests/thread_capture/nacl_thread_capture_test_injection_test.c

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 10 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

Powered by Google App Engine
This is Rietveld 408576698