Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-26 Thread Gauresh Rane
ent: Friday, November 25, 2011 7:40:52 AM Subject: Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question On 25 November 2011 15:35, Max Filippov wrote: >> Breakpoint 7, cpu_arm_exec (env=0x102033200) at ~/qemu-0.15.0/cpu-exec.c:557 >> 557                    

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-26 Thread Gauresh Rane
help, Regards, Gauresh Rane Grad Student CS Department UCLA - Original Message - From: "Peter Maydell" To: "Max Filippov" Cc: "Gauresh Rane" , qemu-devel@nongnu.org Sent: Friday, November 25, 2011 7:40:52 AM Subject: Re: [Qemu-devel] Problem with t

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Peter Maydell
On 25 November 2011 15:35, Max Filippov wrote: >> Breakpoint 7, cpu_arm_exec (env=0x102033200) at ~/qemu-0.15.0/cpu-exec.c:557 >> 557                         next_tb = tcg_qemu_tb_exec(env, tc_ptr); >> (gdb) p/x env->regs >> $13 = {0x4002c00c, 0x20, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0,

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Max Filippov
> Breakpoint 7, cpu_arm_exec (env=0x102033200) at ~/qemu-0.15.0/cpu-exec.c:557 > 557 next_tb = tcg_qemu_tb_exec(env, tc_ptr); > (gdb) p/x env->regs > $13 = {0x4002c00c, 0x20, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, > 0x0, 0x30, 0x10007fa8, 0x560d, 0x560c} > (gdb) s

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Gauresh Rane
ulting. Thanks, Regards, Gauresh Rane Grad Student CS Department UCLA - Original Message - From: "Max Filippov" To: "Peter Maydell" Cc: "Gauresh Rane" , qemu-devel@nongnu.org Sent: Friday, November 25, 2011 5:04:15 AM Subject: Re: [Qemu-devel] Problem with t

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Max Filippov
>> Also all the registers which are pushed to the stack, >> "r3, r4, r5, r6, r7, lr" are cleared to zero > > That is odd. I wonder if the processor is resetting for some reason. Another other possibility is stack pointer pointing to a region w/o underlying physical memory. -- Thanks. -- Max

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Peter Maydell
On 25 November 2011 12:33, Gauresh Rane wrote: > Thanks for the reply. > The instruction that is causing problem is > 436: bx lr > > On single stepping and logging the trace I see that the lr has been set > correctly to jump back, in the beginning of the block and also the > microinstructions inst

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Gauresh Rane
bject: Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question On 25 November 2011 10:27, Gauresh Rane wrote: > I am working on developing a simulator on qemu. I am faced with a bug and I > have tried solving it for three days now with no success: > Here is my probl

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Peter Maydell
On 25 November 2011 10:27, Gauresh Rane wrote: > I am working on developing a simulator on qemu. I am faced with a bug and I > have tried solving it for three days now with no success: > Here is my problem: > I trying to simulate LPC 1768 cortex m3 based processor on qemu. But I am > unable to g

[Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-25 Thread Gauresh Rane
Hi, I am working on developing a simulator on qemu. I am faced with a bug and I have tried solving it for three days now with no success: Here is my problem: I trying to simulate LPC 1768 cortex m3 based processor on qemu. But I am unable to get beyond the libc_init_array in the newlib. My qemu