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 ;) What happens on Windows though? Shouldn't we have an empty stub for spice_backtrace() there? Christophe
pgpHu6UbRTUs3.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
