When machine code is enabled, proper GDB breakpoints could be used instead. Shouldn't take too much unbug hacking to fix that...
/ Fredrik (Naranek) Hubinette (Real Build Master)
Previous text:
2004-04-08 14:13: Subject: unbug and opcodes
#if 0 /* This opcode needs mending if it is to work with machine code. */ OPCODE0_JUMP(F_BREAKPOINT, "breakpoint", 0, { extern void o_breakpoint(void); o_breakpoint(); DO_JUMP_TO(PROG_COUNTER-1); }); #endif
The comment there is true. #if 0 could perhaps be replaced with #ifndef PIKE_USE_MACHINE_CODE. A problem to work out if it's adapted for machine code is how to return from the opcode to a suitable position. That's why it was disabled.
/ Martin Stjernholm, Roxen IS