Remove environment check for breakpoint emission
This commit is contained in:
parent
c3ad96f88e
commit
ec7b95bb9f
@ -41,13 +41,11 @@ panic (void)
|
|||||||
|
|
||||||
void
|
void
|
||||||
breakpoint (void) {
|
breakpoint (void) {
|
||||||
if (getenv ("DEBUG")) {
|
|
||||||
#if defined (__x86_64) || defined (__i386)
|
#if defined (__x86_64) || defined (__i386)
|
||||||
__asm__ ("int $3;");
|
__asm__ ("int $3;");
|
||||||
#else
|
#else
|
||||||
raise (SIGINT);
|
raise (SIGINT);
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user