X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=HACKING;h=c70e19460291d17828bed41b7f06b43fe007c0f7;hb=08628062840ccf3730e239222c30e78b403dc6f4;hp=2d12341320f1498ce2cca2659ff63c37d33865cb;hpb=07098e43cd1183f1367d7fed436e44a36083e653;p=mate.git diff --git a/HACKING b/HACKING index 2d12341..c70e194 100644 --- a/HACKING +++ b/HACKING @@ -1,11 +1,19 @@ for testing with a release build, use $ make tests/Fib + 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 `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 +$ make tests/Fib.gdb +and follow the instructions in the source file.