[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Inserting Memory Watch points
From: |
Nathan Froyd |
Subject: |
Re: [Qemu-devel] Inserting Memory Watch points |
Date: |
Mon, 19 Apr 2010 06:06:25 -0700 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Mon, Apr 19, 2010 at 12:11:46PM +0600, Taimoor Mirza wrote:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1208740160 (LWP 1912)]
> gdb_set_stop_cpu (env=0x9ef36a0) at
> /usr/QEMU_Learning/QEMU_Src/qemu-0.12.3/gdbstub.c:2114
> 2114 gdbserver_state->c_cpu = env;
> (gdb) p env
> $1 = (struct CPUARMState *) 0x9ef36a0
> (gdb) p gdbserver_state->c_cpu
> Cannot access memory at address 0x0
>
> Can anybody tell me whats wrong with this?
gdbserver_state is NULL. You need to start QEMU with the -gdb switch
and connect to it via GDB for cpu_watchpoint_insert to work.
-Nathan