summaryrefslogtreecommitdiffstats
path: root/polyp/debug.h
blob: fb2b889e6f8ec12eb6442eb9b086dfb35e99c9d9 (plain)
1
2
3
4
5
6
7
8
#ifndef foodebughfoo
#define foodebughfoo

/* A nice trick for debuggers, working on x86 only */

#define DEBUG_TRAP __asm__("int $3")

#endif