diff options
Diffstat (limited to 'src/base/debug.cc')
-rw-r--r-- | src/base/debug.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/base/debug.cc b/src/base/debug.cc index 1d7be5a9a..6f01b3fc0 100644 --- a/src/base/debug.cc +++ b/src/base/debug.cc @@ -35,12 +35,16 @@ #include "base/cprintf.hh" +namespace Debug { + void -debug_break() +breakpoint() { #ifndef NDEBUG kill(getpid(), SIGTRAP); #else - cprintf("debug_break suppressed, compiled with NDEBUG\n"); + cprintf("Debug::breakpoint suppressed, compiled with NDEBUG\n"); #endif } + +} // namespace Debug |