diff options
-rw-r--r-- | meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch index c762754ad..bc79727ed 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch | |||
@@ -8,11 +8,11 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
8 | src/client/linux/handler/exception_handler.cc | 17 +++++++++++++++++ | 8 | src/client/linux/handler/exception_handler.cc | 17 +++++++++++++++++ |
9 | 1 file changed, 17 insertions(+) | 9 | 1 file changed, 17 insertions(+) |
10 | 10 | ||
11 | diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc | 11 | Index: git/src/client/linux/handler/exception_handler.cc |
12 | index cca023f..f3e460c 100644 | 12 | =================================================================== |
13 | --- a/src/client/linux/handler/exception_handler.cc | 13 | --- git.orig/src/client/linux/handler/exception_handler.cc |
14 | +++ b/src/client/linux/handler/exception_handler.cc | 14 | +++ git/src/client/linux/handler/exception_handler.cc |
15 | @@ -495,7 +495,19 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) { | 15 | @@ -495,7 +495,19 @@ bool ExceptionHandler::SimulateSignalDel |
16 | siginfo.si_code = SI_USER; | 16 | siginfo.si_code = SI_USER; |
17 | siginfo.si_pid = getpid(); | 17 | siginfo.si_pid = getpid(); |
18 | ucontext_t context; | 18 | ucontext_t context; |
@@ -42,11 +42,8 @@ index cca023f..f3e460c 100644 | |||
42 | return false; | 42 | return false; |
43 | +#else | 43 | +#else |
44 | + // Extreme hack - see comments above. | 44 | + // Extreme hack - see comments above. |
45 | + memset (&context.context, 0, sizeof(&context.context)); | 45 | + memset (&context.context, 0, sizeof(context.context)); |
46 | +#endif | 46 | +#endif |
47 | 47 | ||
48 | #if defined(__i386__) | 48 | #if defined(__i386__) |
49 | // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is retrieved | 49 | // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is retrieved |
50 | -- | ||
51 | 1.9.1 | ||
52 | |||