X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=HACKING;h=c1d34d95e94e7ea5d3ab81206d590de5166f5fe0;hb=918821897ac5548ea57e4d2630325e324de09d03;hp=c70e19460291d17828bed41b7f06b43fe007c0f7;hpb=8cce0bebc102531155bece6f56200cb7cf12d976;p=mate.git diff --git a/HACKING b/HACKING index c70e194..c1d34d9 100644 --- a/HACKING +++ b/HACKING @@ -6,14 +6,10 @@ for testing a release build against OpenJDK output, use $ make tests/Fib.test -for testing with a debug build, use -$ DBGFLAGS='-DDBG_JIT -DDBG_BB' make tests/Fib.dbg +for testing with a debug build, use edit Mate/Debug.hs and set +`mateDEBUG = True' and build again. Output is in `mate.log' -`make clean' is needed if you change $DBGFLAGS. -for all available flags, see `debug.h'. - - -for debugging with gdb, modify Mate/MethodPool.hs and make a debug build with at -least -DDBG_JIT enabled, then use +for debugging with gdb, modify Mate/MethodPool.hs and enable Debugging in +Mate/Debug.hs, then use $ make tests/Fib.gdb and follow the instructions in the source file.