diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/macro.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h index cf02696c..f9ce949a 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 <pulsecore/log.h> |