summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2024-08-29 02:17:40 +0200
committerAndreas Fankhauser hiddenalpha.ch2024-08-29 02:17:40 +0200
commit8695bd6715721e7fa8d0ce0f65113e77dc9c6fcc (patch)
treefa393e65590c4253df759b390ee5fb56e7629d79 /src
parentc8e070f328952f9de8f91c5b91b4b673415dd953 (diff)
downloadUnspecifiedGarbage-8695bd6715721e7fa8d0ce0f65113e77dc9c6fcc.zip
UnspecifiedGarbage-8695bd6715721e7fa8d0ce0f65113e77dc9c6fcc.tar.gz
Fix -DBREAK override.
Diffstat (limited to 'src')
-rw-r--r--src/main/c/common/BREAK.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/c/common/BREAK.h b/src/main/c/common/BREAK.h
index 4bcde92..cd35b44 100644
--- a/src/main/c/common/BREAK.h
+++ b/src/main/c/common/BREAK.h
@@ -1,9 +1,9 @@
-/* "-DBREAK=do{assert(0);abort();}while(0)" */
+/* -DBREAK\(\)=abort\(\) */
#ifndef BREAK
# define BREAK() do{ \
LOGDBG("SIGTRAP %s:%d\n", __FILE__, __LINE__); \
- __asm__("int $3; nop"); \
+ __asm__("int $3; nop"); abort(); \
}while(0)
#endif