Re: [Qemu-devel] Qemu breakpoints

2011-11-21 Thread Andreas Färber
Am 20.11.2011 07:43, schrieb Ankur Dahiya: > I am trying to set a breakpoint in qemu. That is, a function of mine > should run when guest eip becomes equal > to some specified address. > I set the bp using : cpu_breakpoint_insert(first_cpu, 0xc103364f, > BP_GDB, NULL) > Then I do cpu_set_debug_exc

[Qemu-devel] Qemu breakpoints

2011-11-19 Thread Ankur Dahiya
I am trying to set a breakpoint in qemu. That is, a function of mine should run when guest eip becomes equal to some specified address. I set the bp using : cpu_breakpoint_insert(first_cpu, 0xc103364f, BP_GDB, NULL) Then I do cpu_set_debug_excp_handler(NULL) because the default excp handler acces