Hi,
GDB support for system emulator is broken in the current CVS, execution never continues after a breakpoint.
Reversing some of the recent GDB patch re-enables system emulator debugging, but breaks user mode. This is what happens on startup:
qemu-sparc: undefined symbol: vm_start
--- qemu-ref-31/gdbstub.c 2005-04-18 17:13:30.000000000 +0000 +++ qemu-patch31/gdbstub.c 2005-04-21 17:24:21.000000000 +0000 @@ -431,7 +431,8 @@ env->npc = addr + 4; #endif } - return RS_CONTINUE; + vm_start(); + break; case 's': if (*p != '\0') { addr = strtoul(p, (char **)&p, 16); @@ -445,7 +446,8 @@ #endif } cpu_single_step(env, 1); - return RS_CONTINUE; + vm_start(); + break; case 'g': reg_size = cpu_gdb_read_registers(env, mem_buf); memtohex(buf, mem_buf, reg_size);
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel