[Qemu-devel] setting up breakpoints - kernel debugging help wit gdb in qemu-kvm

2012-08-22 Thread Onkar
I am running a linux guest like this - which I wish to debug - but the breakpoint gets set but I am not able to stop the guest execution at the set breakpoint - it just hangs after I do continue. Can you please provide me some clues - # ./qemu-system-x86_64 -m 2048 -smp 4 -vga std -vnc :5

Re: [Qemu-devel] setting up breakpoints - kernel debugging help wit gdb in qemu-kvm

2012-08-22 Thread Mulyadi Santosa
Hi... On Wed, Aug 22, 2012 at 6:53 AM, Onkar kern...@gmail.com wrote: # ./qemu-system-x86_64 -m 2048 -smp 4 -vga std -vnc :5 -drive file=/sda4/bin/disk/disk0.img,cache=writeback -S -s (gdb) symbol-file /sda4/kvm/vmlinux Reading symbols from /sda4/kvm/vmlinux...done. (gdb) target remote

Re: [Qemu-devel] setting up breakpoints - kernel debugging help wit gdb in qemu-kvm

2012-08-22 Thread Jan Kiszka
On 2012-08-22 01:53, Onkar wrote: I am running a linux guest like this - which I wish to debug - but the breakpoint gets set but I am not able to stop the guest execution at the set breakpoint - it just hangs after I do continue. Can you please provide me some clues - #