aboutsummaryrefslogtreecommitdiff
path: root/src/common/android
diff options
context:
space:
mode:
authorrmcilroy@chromium.org <rmcilroy@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-04-15 09:52:37 +0000
committerrmcilroy@chromium.org <rmcilroy@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2014-04-15 09:52:37 +0000
commiteebdc964309c34209c5230bd741f1ded552f4c2e (patch)
treefe1b1e3c86618a18c84c6ac930477ddebde36bec /src/common/android
parentAdd x64 version of getcontext. (diff)
downloadbreakpad-eebdc964309c34209c5230bd741f1ded552f4c2e.tar.xz
Update offset of fpregs_mem.
Based on testing in the emulator. BUG=346626 R=thestig@chromium.org Review URL: https://breakpad.appspot.com/1544002 Patch from Anton Carver <anton@chromium.org>. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1312 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/android')
-rw-r--r--src/common/android/include/sys/ucontext.h2
-rw-r--r--src/common/android/ucontext_constants.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/android/include/sys/ucontext.h b/src/common/android/include/sys/ucontext.h
index df7019c4..80149282 100644
--- a/src/common/android/include/sys/ucontext.h
+++ b/src/common/android/include/sys/ucontext.h
@@ -238,7 +238,7 @@ typedef struct ucontext {
stack_t uc_stack;
mcontext_t uc_mcontext;
sigset_t uc_sigmask;
- uint64_t __padding[15];
+ uint64_t __padding[18];
_libc_fpstate __fpregs_mem;
} ucontext_t;
diff --git a/src/common/android/ucontext_constants.h b/src/common/android/ucontext_constants.h
index 92871b43..07968052 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 424
+#define MCONTEXT_FPREGS_MEM 448
#define FPREGS_OFFSET_MXCSR 24
#else