qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [Qemu-discuss] [Qemu-discussion] QEMU via GDB
       [not found] ` <fc68daf05eb5.4ea523e1@studenti.univr.it>
@ 2011-10-24  6:42   ` davide.ferraretto
  0 siblings, 0 replies; only message in thread
From: davide.ferraretto @ 2011-10-24  6:42 UTC (permalink / raw)
  To: qemu-devel, wdongxu

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

It dosen't work. GDB returns the same error.

----- Original Message -----
From: davide.ferraretto@studenti.univr.it
Date: Monday, October 24, 2011 8:37
Subject: Re: [Qemu-discuss] [Qemu-discussion] QEMU via GDB
To: davide.ferraretto@studenti.univr.it

> It dosen't work. GDB return the same error.
> 
> ----- Original Message -----
> From: davide.ferraretto@studenti.univr.it
> Date: Friday, October 21, 2011 16:18
> Subject: [Qemu-discuss] [Qemu-discussion] QEMU via GDB
> To: qemu-discuss@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.    

[-- Attachment #2: Type: text/html, Size: 9195 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-24  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fc8ccf247308.4ea19b42@studenti.univr.it>
     [not found] ` <fc68daf05eb5.4ea523e1@studenti.univr.it>
2011-10-24  6:42   ` [Qemu-devel] [Qemu-discuss] [Qemu-discussion] QEMU via GDB davide.ferraretto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).