diff options
Diffstat (limited to 'polyp/debug.h')
-rw-r--r-- | polyp/debug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/polyp/debug.h b/polyp/debug.h new file mode 100644 index 00000000..fb2b889e --- /dev/null +++ b/polyp/debug.h @@ -0,0 +1,8 @@ +#ifndef foodebughfoo +#define foodebughfoo + +/* A nice trick for debuggers, working on x86 only */ + +#define DEBUG_TRAP __asm__("int $3") + +#endif |