All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Debugging source code with Eclipse
@ 2017-06-29  9:37 Ormaetxea Xabier
  2017-06-29 14:12 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Ormaetxea Xabier @ 2017-06-29  9:37 UTC (permalink / raw)
  To: qemu-devel

Hello!

Im trying to debug the source code of Qemu with Eclipse to try to understand how it works. Im not totally sure how should I do this process, but I've create a Eclipse C project using all the Qemu source code. Unfortunately I get a lot of errors for each code piece, and I can't run it.

Those errors are: "type/symbol... '<name>' could not be resolved"

Am I doing in it right? How can I debug the source code of Qemu?

Thank you in advance!

Xabi

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

* Re: [Qemu-devel] Debugging source code with Eclipse
  2017-06-29  9:37 [Qemu-devel] Debugging source code with Eclipse Ormaetxea Xabier
@ 2017-06-29 14:12 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2017-06-29 14:12 UTC (permalink / raw)
  To: Ormaetxea Xabier; +Cc: qemu-devel

On 29 June 2017 at 10:37, Ormaetxea Xabier <xormaetxea@ikerlan.es> wrote:
> Im trying to debug the source code of Qemu with Eclipse to try to understand how it works. Im not totally sure how should I do this process, but I've create a Eclipse C project using all the Qemu source code. Unfortunately I get a lot of errors for each code piece, and I can't run it.
>
> Those errors are: "type/symbol... '<name>' could not be resolved"
>
> Am I doing in it right? How can I debug the source code of Qemu?

I think most QEMU developers use 'make' to build QEMU,
and 'gdb' to run it.

You might be able to use Eclipse
for the debugging part, but you'd need to ask in an
Eclipse user group about how to get it to work with an
existing just-uses-Make program. (This must be a fairly
common use case so I would expect Eclipse to support it
somehow.)

I would not recommend trying to build QEMU with anything
except our configure/make machinery. It is too complicated
to try to reproduce with anything else.

thanks
-- PMM

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

end of thread, other threads:[~2017-06-29 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29  9:37 [Qemu-devel] Debugging source code with Eclipse Ormaetxea Xabier
2017-06-29 14:12 ` Peter Maydell

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.