diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-14 10:50:49 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-19 20:33:25 +0300 |
commit | a3cde2d971227ba2ca96de710993dc3c0b7b28df (patch) | |
tree | 17416e31d0f7d1eca96e1e998c245f0f3a68b320 /common/Makefile.am | |
parent | 70135614623d573def52d062ccce34ffc42a5d0f (diff) | |
download | spice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.tar.gz spice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.tar.xz spice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.zip |
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.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index e0f4d491..f07f9489 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -36,6 +36,8 @@ libspice_common_la_SOURCES = \ spice_common.h \ ssl_verify.c \ ssl_verify.h \ + backtrace.c \ + backtrace.h \ $(NULL) if SUPPORT_GL |