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

2011-04-15 Thread Amirali Shambayati
That works well. Thanks so much Craig. On Fri, Apr 15, 2011 at 10:08 AM, Craig Brozefsky wrote: > 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

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

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

2011-04-14 Thread Amirali Shambayati
Dear all, I want to use combination of qemu and gdb to debug my modified linux kernel code. First I tried this link:http://issaris.blogspot.com/2007/12/download-linux-kernel-sourcecode-from.html to configure eclipse CDT and qemu to achieve my goal. According to the tutorial, I tried following comm