aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/no-getcontext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/no-getcontext.patch')
-rw-r--r--community/chromium/no-getcontext.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/community/chromium/no-getcontext.patch b/community/chromium/no-getcontext.patch
deleted file mode 100644
index 846ef16c58..0000000000
--- a/community/chromium/no-getcontext.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- breakpad/src/client/linux/handler/exception_handler.cc.orig 2015-12-06 09:59:55.554536646 +0100
-+++ breakpad/src/client/linux/handler/exception_handler.cc 2015-12-06 10:01:16.818238035 +0100
-@@ -477,7 +477,9 @@ bool ExceptionHandler::SimulateSignalDel
- siginfo.si_code = SI_USER;
- siginfo.si_pid = getpid();
- struct ucontext context;
-+#if defined(__GLIBC__)
- getcontext(&context);
-+#endif
- return HandleSignal(sig, &siginfo, &context);
- }
-
-@@ -647,9 +649,14 @@ bool ExceptionHandler::WriteMinidump() {
- sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
-
- CrashContext context;
-+
-+#if defined(__GLIBC__)
- int getcontext_result = getcontext(&context.context);
- if (getcontext_result)
- return false;
-+#else
-+ return false;
-+#endif
-
- #if defined(__i386__)
- // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is retrieved