aboutsummaryrefslogblamecommitdiffstats
path: root/community/chromium/no-getcontext.patch
blob: 4b87c6d17056cabca0896c047519a3d8266f7f1e (plain) (tree)


















                                                                 
--- ./breakpad/src/client/linux/handler/exception_handler.cc.orig
+++ ./breakpad/src/client/linux/handler/exception_handler.cc
@@ -460,7 +460,6 @@
   siginfo.si_code = SI_USER;
   siginfo.si_pid = getpid();
   struct ucontext context;
-  getcontext(&context);
   return HandleSignal(sig, &siginfo, &context);
 }
 
@@ -628,8 +627,6 @@
   sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
 
   CrashContext context;
-  int getcontext_result = getcontext(&context.context);
-  if (getcontext_result)
     return false;
 
 #if defined(__i386__)