Am 06.08.2017 um 13:25 schrieb Shantanu Agarwal:
> Hello all,
> I was reading about qemu, trying to understand the source code. I found
> that vl.c is considered the main file of qemu source code from where all
> the execution starts. So I flipped some values, i even put a exit(0) just
> after the int main starts, but nothing is changed. Qemu is fully
> functional. Also i put many printf's in between but no output at all. Am I
> missing something or vl.c is not the main file.
> 

Hi,

the main function in vl.c is the correct entry point.
If you don't see an effect of your changes, then you
are probably calling an executable which is not the
changed one.

What about using gdb to see what happens?

Regards
Stefan


Reply via email to