[Qemu-devel] debugging qemu arm

2015-01-31 Thread Attila Csosz
Hi, I'm trying to debug qemu when it executes a simple arm executable. Where is in the qemu code when executing a single arm asm instruction? Thanks Attila

Re: [Qemu-devel] debugging qemu arm

2015-01-31 Thread Peter Maydell
On 31 January 2015 at 16:50, Attila Csosz csos...@gmail.com wrote: Where is the arm-to-x86 call in QEMU code? Which tool/library call generates this code? We generate the code in target-arm/translate.c (actually we generate a TCG intermediate representation which is subsequently turned into x86

Re: [Qemu-devel] debugging qemu arm

2015-01-31 Thread Peter Maydell
On 31 January 2015 at 12:25, Attila Csosz csos...@gmail.com wrote: I'm trying to debug qemu when it executes a simple arm executable. Where is in the qemu code when executing a single arm asm instruction? QEMU works in two phases: (1) we translate ARM code into x86 instructions (2) we run the

Re: [Qemu-devel] debugging qemu arm

2015-01-31 Thread Attila Csosz
Where is the arm-to-tcg translation? Attila On Sat, Jan 31, 2015 at 5:59 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 31 January 2015 at 16:50, Attila Csosz csos...@gmail.com wrote: Where is the arm-to-x86 call in QEMU code? Which tool/library call generates this code? We

Re: [Qemu-devel] debugging qemu arm

2015-01-31 Thread Attila Csosz
Where is the arm-to-x86 call in QEMU code? Which tool/library call generates this code? Attila On Sat, Jan 31, 2015 at 5:43 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 31 January 2015 at 12:25, Attila Csosz csos...@gmail.com wrote: I'm trying to debug qemu when it executes a simple