Re: [Qemu-devel] Problem in setting breakpoints at kernel code using "qemu and gdb"

2011-04-14 Thread Craig Brozefsky
On Thu, Apr 14, 2011 at 10:16 AM, Amirali Shambayati wrote: > > Also I tried combination of gdb and qemu using following commands: > #gdb > (gdb) symbol-file vmlinux.o > (gdb) target remote localhost:1234 > (gdb) break scsi_lib.c 1420 > (gdb) c > > I tried above commands to check if stops at brea

Re: [Qemu-devel] software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Craig Brozefsky
On Fri, Apr 8, 2011 at 3:16 PM, Blue Swirl wrote: > On Fri, Apr 8, 2011 at 9:50 PM, Craig Brozefsky wrote: > > For KVM, native self-modifying code support of the CPU should be > enough. Are you sure you are using KVM, what does "info kvm" tell? Yup. > How are you set

[Qemu-devel] software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Craig Brozefsky
First, thank you very much for your work on KVM/QEMU and in particular the GDB support. I have been a heavy user of it while implementing a programmable debugger that monitors/traces guest operating systems. I need more breakpoints than hardware BPs available, and I need the performance of KVM ac