Commit Graph

4 Commits

Author SHA1 Message Date
Alon Levy
a299c362dd common/backtrace: for mingw32 no pipe/wait_pid, just disable 2012-01-13 17:42:23 +02:00
Christophe Fergeau
5a197ca497 add C++ guards to backtrace.h
Without these, spice_backtrace() can't be used from the C++ client
code.
2011-09-01 03:58:01 +02:00
Alon Levy
e732e8a27d common/backtrace.h: disable for WIN32
This also catches mingw32 which is probably fine, but at least it fixes
the build on visual studio.
2011-07-31 13:31:58 +03:00
Alon Levy
3aff246075 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.
2011-07-19 20:33:25 +03:00