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:
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.
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
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
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
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
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??
In arm user mode, where does qemu exit? Where is last qemu's instruction?
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??
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
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
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???
how can I read location of memory poits by esp register (i386 cpu)??
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
Where I can find i386 flags after every instruction??
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.
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.
17 matches
Mail list logo