[Qemu-devel] Debugging with printf

2013-12-11 Thread Mar Tsan
Hello. I'm working with Android Emulator (which as I understand is something like QEMU but not the same) and I would like to print messages concerning the Emulator. What I mean is that I want to edit the source code of the Emulator (adding some *printf*s to it) and display the results or write them

Re: [Qemu-devel] Debugging with printf

2013-12-12 Thread Mar Tsan
I understand that they're not one and the same but there are similarities. After all the Emulator is based on QEMU. How would someone go about editing QEMU source to display messages? 2013/12/12 Stefan Hajnoczi > On Wed, Dec 11, 2013 at 04:36:14PM +0200, Mar Tsan wrote: > > Hell

Re: [Qemu-devel] Debugging with printf

2013-12-13 Thread Mar Tsan
My problem is how do I read the information I want to print. From where? What do I do? 2013/12/13 Fam Zheng > On 2013年12月13日 15:47, Mar Tsan wrote: > >> I understand that they're not one and the same but there are >> similarities. After all the Emulator is based on

[Qemu-devel] Program counter update

2013-11-26 Thread Mar Tsan
I'm a master's student and I' ve taken up a project for which I must find where the program counter update is performed *in the source code*. I've built the Android source from the git repositories and I'm working with the Android Emulator (not Qemu per se). I'm currently searching in the target-i3

Re: [Qemu-devel] Program counter update

2013-11-26 Thread Mar Tsan
ou can look at the gen_jmp_im function in > target-i386/translate.c. > > -Brendan > > On Tue, Nov 26, 2013 at 12:51 PM, Mar Tsan wrote: > > I'm a master's student and I' ve taken up a project for which I must find > > where the program counter update is per