From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTwWv-0000Q5-4B for qemu-devel@nongnu.org; Fri, 25 Nov 2011 09:13:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTwWq-0006Ey-Ud for qemu-devel@nongnu.org; Fri, 25 Nov 2011 09:13:29 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:34318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTwWq-0006Ek-Ns for qemu-devel@nongnu.org; Fri, 25 Nov 2011 09:13:24 -0500 Date: Fri, 25 Nov 2011 06:13:21 -0800 (PST) From: Gauresh Rane Message-ID: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: Peter Maydell , qemu-devel@nongnu.org This is how it looks: Hi, Thanks for the help. 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, 0x40000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x30, 0x10007fa8, 0x560d, 0x560c} (gdb) s 558 if ((next_tb & 3) == 2) { (gdb) p/x env->regs $14 = {0x10048000, 0x20, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x30, 0x10007fb8, 0x560d, 0x0} How to check access to unallocated memory? It's not seg faulting. 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 translating on ARM and Qemu beginner question >> 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