Alon Levy
db2057fa4c
common/backtrace: for mingw32 no pipe/wait_pid, just disable
2012-03-20 15:25:55 +01:00
Christophe Fergeau
6130d4602d
add C++ guards to backtrace.h
...
Without these, spice_backtrace() can't be used from the C++ client
code.
2012-03-20 15:25:54 +01:00
Alon Levy
82ed762637
common/backtrace.h: disable for WIN32
...
This also catches mingw32 which is probably fine, but at least it fixes
the build on visual studio.
2012-03-20 15:25:53 +01:00
Alon Levy
cb4c660655
common: add backtrace via gstack or glibc backtrace
...
Add a backtrace printing function copied from xserver os/backtrace.c
that uses gstack, and if that isn't found then glibc's backtrace.
Used in ASSERT, tested on F15.
2012-03-20 15:25:53 +01:00