All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qemu make file
@ 2010-08-26  6:03 chandra shekar
  2010-08-26  8:16 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: chandra shekar @ 2010-08-26  6:03 UTC (permalink / raw)
  To: qemu-devel

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

hi every one i tried to compile qemu using gcc and generate object code so
that
i can use that in gdb and it may have given me much of understanding of code
but when i compile qemu with gcc their are so many errors but usually when i

run make file there is no problem please someone help me i need to run qemu
in gdb,thanks

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu make file
  2010-08-26  6:03 [Qemu-devel] qemu make file chandra shekar
@ 2010-08-26  8:16 ` Stefan Hajnoczi
       [not found]   ` <AANLkTikembZc=EyhV-VhwJMiyNYAC3vEa=4=L54wDn0D@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2010-08-26  8:16 UTC (permalink / raw)
  To: chandra shekar; +Cc: qemu-devel

On Thu, Aug 26, 2010 at 7:03 AM, chandra shekar
<chandrashekar512@gmail.com> wrote:
> i need to run qemu in gdb,thanks

Try:
$ ./configure --disable-strip
$ gdb --args x86_64-softmmu/qemu-system-x86_64 [...]

The --disable-strip configure option causes an ELF executable with
debug information to be produced.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu make file
       [not found]   ` <AANLkTikembZc=EyhV-VhwJMiyNYAC3vEa=4=L54wDn0D@mail.gmail.com>
@ 2010-08-26  9:21     ` Stefan Hajnoczi
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2010-08-26  9:21 UTC (permalink / raw)
  To: chandra shekar; +Cc: qemu-devel

On Thu, Aug 26, 2010 at 10:05 AM, chandra shekar
<chandrashekar512@gmail.com> wrote:
> stefan sorry for bothering you but iam new to qemu i did the above steps
> and after 2nd step i got into gdb and i used "r" command to run, it gave
> qemu: could not open disk image [...]: No such file or directory
> so in place of [..] i have tried giving the image location which i have
> created
> and also the cdrom location but nothing works so can u tell what is that
> image
> location,thanks

Please keep qemu-devel@nongnu.org in the CC list so others can help too.

When I said "[...]" I meant "all the QEMU options you normally use".
If I normally use:

$ x86_64-softmmu/qemu-system-x86_64 -m 512 -cdrom fedora.iso

then I would do the following for GDB:

$ gdb --args x86_64-softmmu/qemu-system-x86_64 -m 512 -cdrom fedora.iso

The error message you have is just a path lookup issue.  Check your
current working directory and make sure the path to the image file is
correct.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-26  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26  6:03 [Qemu-devel] qemu make file chandra shekar
2010-08-26  8:16 ` Stefan Hajnoczi
     [not found]   ` <AANLkTikembZc=EyhV-VhwJMiyNYAC3vEa=4=L54wDn0D@mail.gmail.com>
2010-08-26  9:21     ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.