diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-17 17:02:50 +0200 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-17 17:02:50 +0200 | 
| commit | efcecb86c9dcf84e11e114ebdbea70edee756d41 (patch) | |
| tree | 26a28be6c061dd297255d905cd52f2eac62aaa58 /package/libunwind/patches/patch-src_x86_Gos-linux_c | |
| parent | 6c1ac96fd745eb991bbd81bed36113a84d133252 (diff) | |
libunwind: add new package
Diffstat (limited to 'package/libunwind/patches/patch-src_x86_Gos-linux_c')
| -rw-r--r-- | package/libunwind/patches/patch-src_x86_Gos-linux_c | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/package/libunwind/patches/patch-src_x86_Gos-linux_c b/package/libunwind/patches/patch-src_x86_Gos-linux_c new file mode 100644 index 000000000..ecce53e4d --- /dev/null +++ b/package/libunwind/patches/patch-src_x86_Gos-linux_c @@ -0,0 +1,24 @@ +--- libunwind-1.2.orig/src/x86/Gos-linux.c	2016-11-18 04:28:29.000000000 +0100 ++++ libunwind-1.2/src/x86/Gos-linux.c	2017-04-17 16:59:08.339188080 +0200 +@@ -290,19 +290,8 @@ x86_local_resume (unw_addr_space_t as, u +      because the frame-chain still would let us do a backtrace at +      least.  */ +   dwarf_make_proc_info (&c->dwarf); +- +-  if (unlikely (c->sigcontext_format != X86_SCF_NONE)) +-    { +-      struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; +- +-      Debug (8, "resuming at ip=%x via sigreturn(%p)\n", c->dwarf.ip, sc); +-      sigreturn (sc); +-    } +-  else +-    { +-      Debug (8, "resuming at ip=%x via setcontext()\n", c->dwarf.ip); +-      setcontext (uc); +-    } ++  Debug (8, "resuming at ip=%x via setcontext()\n", c->dwarf.ip); ++  setcontext (uc); +   return -UNW_EINVAL; + } + #endif | 
