* breakpoint - stop if running under the debugger. */
| 15 | * breakpoint - stop if running under the debugger. |
| 16 | */ |
| 17 | static inline void breakpoint(void) |
| 18 | { |
| 19 | if (!breakpoint_initialized) |
| 20 | breakpoint_init(); |
| 21 | if (breakpoint_under_debug) |
| 22 | kill(getpid(), SIGTRAP); |
| 23 | } |
| 24 | #endif /* CCAN_BREAKPOINT_H */ |