[Qemu-devel] Where are i386 flags??

2015-06-07 Thread Davide Ferraretto
Where I can find i386 flags after every instruction??

[Qemu-devel] I386 Flags after run TB

2015-05-30 Thread Davide Ferraretto
I run qemu in single step mode and user-mode. I want to know where i386 flags are stored after a run of one Translation Block.

[Qemu-devel] I386 Flags after run TB

2015-05-23 Thread Davide Ferraretto
I run qemu in single step mode and user-mode. I want to know where i386 flags are stored after a run of one Translation Block.

[Qemu-devel] Compiling static

2012-06-28 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find

[Qemu-devel] Compiling static

2012-06-28 Thread Davide Ferraretto
Those is my post. This problem is only my. I don't find these library. I don't know where to download them. On 06/28/12 10:22, Dunrong Huang wrote: This post may give you some advice http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg02319.html 2012/6/28 Davide Ferraretto femudevelopm

[Qemu-devel] Compiling static

2012-06-14 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find

[Qemu-devel] Compiling static

2012-06-14 Thread Davide Ferraretto
I want compile qemu with --static: ./configure --static --target-list=i386-linux-user,arm-linux-user --python=/usr/bin/python2.7 --prefix=/install_qemu Qemu returns: /usr/bin/ld: cannot find -lssl3 /usr/bin/ld: cannot find -lsmime3 /usr/bin/ld: cannot find -lnss3 /usr/bin/ld: cannot find

[Qemu-devel] tcg_qemu_tb_exec...

2012-06-03 Thread Davide Ferraretto
I'm in qemu-arm. tcg_qemu_tb_exec function is a macro: #define tcg_qemu_tb_exec(env, tb_ptr)\ ((long REGPARM (*)(void *, void *))code_gen_prologue)(env, tb_ptr) #endif I don't understand what function calls. where is code of code_gen_prologue???

[Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
In arm user mode, where does qemu exit? Where is last qemu's instruction? I.E. int main (){return 0;} in what file does qemu run return 0??

[Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
I tried to insert printf(exit\n); , but qemu dosen't write to monitor. On 06/01/12 13:43, Max Filippov wrote: On Fri, Jun 1, 2012 at 3:16 PM, Davide Ferraretto femudevelopm...@gmail.com wrote: In arm user mode, where does qemu exit? Where is last qemu's instruction? I.E. int main (){return

Re: [Qemu-devel] arm return

2012-06-01 Thread Davide Ferraretto
I'm in arm user space with sigle step mode. I want write exit\n in linux shell (no QEMU monitor) when emulate code arrives to return 0 On 06/01/12 14:23, Max Filippov wrote: On Fri, Jun 1, 2012 at 3:57 PM, Davide Ferraretto femudevelopm...@gmail.com wrote: I tried to insert printf(exit\n

[Qemu-devel] arm exit code.

2012-05-29 Thread Davide Ferraretto
In arm user mode, where does qemu exit? Where is last qemu's instruction?

[Qemu-devel] cpsr_write...

2012-05-28 Thread Davide Ferraretto
Hi!!! 1)How can I use cpsr_write(var, tmp_mask) in qemu- arm(user mode)?? 2)What are var and tmp_mask?? 3)How does QEMU use cpsr register in sigle step mode??

[Qemu-devel] Read location of memory poits esp register

2012-05-07 Thread Davide Ferraretto
how can I read location of memory poits by esp register (i386 cpu)??

[Qemu-devel] Read location of memory poits esp register

2012-05-07 Thread Davide Ferraretto
But, I work into qemu code. Is there a c qemu function for this?? On 05/07/12 19:10, Mulyadi Santosa wrote: On Mon, May 7, 2012 at 11:49 PM, Davide Ferraretto femudevelopm...@gmail.com wrote: how can I read location of memory poits by esp register (i386 cpu)?? CMIIW, using gdb stub hooked

Re: [Qemu-devel] [Qemu-discuss] [Qemu-discussion] QEMU via GDB

2011-10-24 Thread davide . ferraretto
It dosen't work. GDB returns the same error. - Original Message - From: davide.ferrare...@studenti.univr.it Date: Monday, October 24, 2011 8:37 Subject: Re: [Qemu-discuss] [Qemu-discussion] QEMU via GDB To: davide.ferrare...@studenti.univr.it It dosen't work. GDB return the same error.

[Qemu-devel] QEMU via GDB

2011-10-21 Thread davide . ferraretto
Dear all, I am trying to debug QEMU via GDB. I configured and compiled QEMU with debugging flags, i.e., # CFLAGS=-g3 -O0 ./configure --disable-gfx-check and run gdb: # gdb ./i386-linux-user/qemu-i386 (gdb) break main (gdb) run Starting program: