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
This commit is contained in:
rmcilroy@chromium.org 2014-04-15 09:52:37 +00:00
parent 6594ac922c
commit eebdc96430
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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