From 7bac427874d2999073074354d0b2cc6fc95487e9 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 18 Nov 2004 10:52:56 -0500 Subject: Minor fixes. base/loader/ecoff_object.cc: Only warn (not die) if we can't load symbols from an ecoff object. sim/debug.cc: Compile in functioning debug_break unless NDEBUG, not only if DEBUG. Print warning if we hit breakpoint when compiled with NDEBUG. sim/debug.hh: Compile in functioning debug_break unless NDEBUG, not only if DEBUG. --HG-- extra : convert_revision : baef2caac4a9c88e1389660823eaa7c42b1d19c8 --- sim/debug.hh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sim/debug.hh') diff --git a/sim/debug.hh b/sim/debug.hh index 3ccf1dbd4..5ee77cf28 100644 --- a/sim/debug.hh +++ b/sim/debug.hh @@ -29,10 +29,6 @@ #ifndef __DEBUG_HH__ #define __DEBUG_HH__ -#ifdef DEBUG void debug_break(); -#else -inline void debug_break() { } -#endif #endif // __DEBUG_HH__ -- cgit v1.2.3