Mon, 20 Dec 2004:
gdb is the best debugger I've ever encountered. It can't do your homework , walk the dog or make coffee - but I discovered yesterday that there's nothing else that can debug JIT compiled code properly :).
I'm working on this PPC unroller - so I had to debug bits.
Program received signal SIGTRAP, Trace/breakpoint trap. 0x3003b158 in ?? () (gdb) x/4i $pc 0x3003b158: trap 0x3003b15c: or r9,r9,r10 0x3003b160: or r11,r11,r8 0x3003b164: stw r9,-32(r19) (gdb) set $pc = $pc + 4 (gdb) niIt's amazing ... I found this doc from the jikes RVM list - but that guy still didn't figure out how to do it the easy way by incrementing PC. Life's a lot easier now that I use gdb. Now to figure out how to make this a macro :)