diff options
Diffstat (limited to 'breakpad/linux/exception_handler.cc')
-rw-r--r-- | breakpad/linux/exception_handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/breakpad/linux/exception_handler.cc b/breakpad/linux/exception_handler.cc index ad7a11d..a1c8379 100644 --- a/breakpad/linux/exception_handler.cc +++ b/breakpad/linux/exception_handler.cc @@ -261,6 +261,8 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) { CrashContext context; memcpy(&context.siginfo, info, sizeof(siginfo_t)); memcpy(&context.context, uc, sizeof(struct ucontext)); + memcpy(&context.float_state, ((struct ucontext *)uc)->uc_mcontext.fpregs, + sizeof(context.float_state)); context.tid = sys_gettid(); if (crash_handler_ && crash_handler_(&context, sizeof(context), |