aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/ucontext_constants.h
diff options
context:
space:
mode:
authorprimiano@chromium.org <primiano@chromium.org>2014-10-24 10:58:38 +0000
committerprimiano@chromium.org <primiano@chromium.org>2014-10-24 10:58:38 +0000
commite20758c2988bf1923d1d2d6cd3e2d2d73c6980cb (patch)
treeeee538a36e54bca9ff42eab5ab131cce7056009f /src/common/android/ucontext_constants.h
parentUpdate breakpad to support Android NDK r10c (diff)
downloadbreakpad-e20758c2988bf1923d1d2d6cd3e2d2d73c6980cb.tar.xz
Fix breakpad on mips and x86_64 for the NDK r10c update.
This change introduces the necessary glue typedefs to deal with the mismatch introduced by the latest Android NDK (w.r.t. desktop Linux): - [x86_64] Rename fpregs mxcr_mask -> .mxcsr_mask - [mips] uc_mcontext.fpregs.fp_r.fp_dregs -> uc_mcontext.fpreg - [mips] restore the forked user.h Submitting this on behalf of fdegans@chromium.org TBR=mark@chromium.org git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1397 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/android/ucontext_constants.h')
-rw-r--r--src/common/android/ucontext_constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/android/ucontext_constants.h b/src/common/android/ucontext_constants.h
index 07968052..e39f0234 100644
--- a/src/common/android/ucontext_constants.h
+++ b/src/common/android/ucontext_constants.h
@@ -126,7 +126,7 @@
#define MCONTEXT_GREGS_RSP 160
#define MCONTEXT_GREGS_RIP 168
#define MCONTEXT_FPREGS_PTR 224
-#define MCONTEXT_FPREGS_MEM 448
+#define MCONTEXT_FPREGS_MEM 304
#define FPREGS_OFFSET_MXCSR 24
#else