On 29 June 2017 at 10:37, Ormaetxea Xabier <xormaet...@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