diff -r e525995ce5dc -r 04f9377661b8 src/core/abort.h --- a/src/core/abort.h Tue Nov 18 16:23:31 2008 -0800 +++ b/src/core/abort.h Wed Nov 19 15:54:12 2008 -0800 @@ -21,6 +21,16 @@ #include "fatal-error.h" +#define NS_ABORT_MSG(msg) \ + do { \ + std::cerr << "file=" << __FILE__ << \ + ", line=" << __LINE__ << ", abort, msg=\"" << \ + msg << "\"" << std::endl; \ + int *a = 0; \ + *a = 0; \ + } while (false) + + #define NS_ABORT_IF(cond) \ do { \ if (cond) \