X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdebug.cc;h=67bcd7068123eda280eef65618c368d2e6e13262;hb=8309cbcd6660ea1f0b35abacbb424ddc4158e448;hp=01a35bd140feeebda41d767aed18027df111149b;hpb=dbed556ca13bc2371e83774890eaa06bc8b04def;p=lilypond.git diff --git a/lily/debug.cc b/lily/debug.cc index 01a35bd140..67bcd70681 100644 --- a/lily/debug.cc +++ b/lily/debug.cc @@ -4,11 +4,11 @@ #include #include "debug.hh" #include "dstream.hh" -#include "vector.hh" +#include "flower-debug.hh" Dstream *monitor=0; ostream * nulldev =0; - +// ugh struct _Dinit { _Dinit() { nulldev = new ofstream("/dev/null"); @@ -44,7 +44,8 @@ debug_init() #ifndef NDEBUG set_new_handler(&mynewhandler); #endif - set_matrix_debug(*monitor); + set_flower_debug(*monitor, check_debug); + signal(SIGFPE, float_handler); }