diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h index cf02696cf..f9ce949ac 100644 --- a/src/pulsecore/macro.h +++ b/src/pulsecore/macro.h @@ -220,6 +220,12 @@ typedef int pa_bool_t; #endif +#if defined(__i386__) || defined(__x86_64__) +#define PA_DEBUG_TRAP __asm__("int $3") +#else +#define PA_DEBUG_TRAP raise(SIGTRAP) +#endif + /* We include this at the very last place */ #include