Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DOfcL-0003eu-6U for qemu-devel@nongnu.org; Thu, 21 Apr 2005 13:37:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DOfcI-0003de-KI for qemu-devel@nongnu.org; Thu, 21 Apr 2005 13:37:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOfcI-0002yl-77 for qemu-devel@nongnu.org; Thu, 21 Apr 2005 13:37:30 -0400 Received: from [64.4.35.35] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DOfdl-00041l-GD for qemu-devel@nongnu.org; Thu, 21 Apr 2005 13:39:01 -0400 Message-ID: From: "Blue Swirl" Date: Thu, 21 Apr 2005 19:35:24 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [Qemu-devel] GDBstub system emulator breakage Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: paul@codesourcery.com Cc: qemu-devel@nongnu.org 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/