From ec7b95bb9f1c81448b313e9d45c75d60446d297a Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sat, 24 Sep 2011 13:18:25 +1000 Subject: [PATCH] Remove environment check for breakpoint emission --- debug.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/debug.cpp b/debug.cpp index 599af99e..7e480ab1 100644 --- a/debug.cpp +++ b/debug.cpp @@ -41,13 +41,11 @@ panic (void) void breakpoint (void) { - if (getenv ("DEBUG")) { #if defined (__x86_64) || defined (__i386) - __asm__ ("int $3;"); + __asm__ ("int $3;"); #else - raise (SIGINT); + raise (SIGINT); #endif - } }