Workaround missing getcontext() in Docker osrf/ubuntu_32bit
authorIvan Maidanski <ivmai@mail.ru>
Thu, 11 Aug 2016 08:56:44 +0000 (11:56 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 11 Aug 2016 08:56:44 +0000 (11:56 +0300)
commita62e6fc5808e8f4739adb842ec55958acfbdb338
tree4b47d113c16aebed4e81cbd2562008c9a86aa3df
parentc780974c7d1668865a099269a7613507304d0a15
Workaround missing getcontext() in Docker osrf/ubuntu_32bit

* mach_dep.c [NO_GETCONTEXT] (GC_with_callee_saves_pushed): Call WARN
instead of ABORT if getcontext() failed; do not set context variable
if getcontext() failed; fallback to other register retrieval methods
(__builtin_unwind_init or setjmp) if context variable is NULL.
* mach_dep.c (GC_with_callee_saves_pushed): Reformat code.
mach_dep.c