From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH8ck-0003nm-Up for qemu-devel@nongnu.org; Fri, 21 Oct 2011 02:30:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RH8cj-0003jF-Pm for qemu-devel@nongnu.org; Fri, 21 Oct 2011 02:30:34 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:59784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH8cj-0003j9-Km for qemu-devel@nongnu.org; Fri, 21 Oct 2011 02:30:33 -0400 Received: by wyh15 with SMTP id 15so4106792wyh.4 for ; Thu, 20 Oct 2011 23:30:32 -0700 (PDT) Message-ID: <4EA1114B.5000303@gmail.com> Date: Fri, 21 Oct 2011 08:29:31 +0200 From: Davide MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QEMU via GDB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Dear all, I am trying to debug QEMU via GDB. I configured and compiled QEMU with debugging flags, i.e., # CFLAGS="-g3 -O0" ./configure --disable-gfx-check and run gdb: # gdb ./i386-linux-user/qemu-i386 (gdb) break main (gdb) run Starting program: /home/test/femu/i386-linux-user/qemu-i386 Failed to read a valid object file image from memory. Warning: Cannot insert breakpoint 1. Error accessing memory address 0x2f7df: Input/output error. Is there any extra flag to be specified with the GDB for QEMU debugging? I am wondering if the QEMU virtual machine creates any problem to the GDB virtual machine. Thanks. G.