On 07/18/2011 07:21 PM, Christophe Fergeau wrote:
On Mon, Jul 18, 2011 at 06:42:14PM +0300, Alon Levy wrote:
diff --git a/common/spice_common.h b/common/spice_common.h
index bc74486..6c5154c 100644
--- a/common/spice_common.h
+++ b/common/spice_common.h
@@ -22,9 +22,11 @@
#include<stdint.h>
#include<time.h>
#include<stdlib.h>
+#include "backtrace.h"
#define ASSERT(x) if (!(x)) { \
printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \
+ spice_backtrace(); \
abort(); \
}
Given that it's the only change in existing code, and that it's only
trigger right before an abort(), no need to go over this series for days
and days imo ;)
OK.
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel