On Thu, Apr 14, 2011 at 10:16 AM, Amirali Shambayati <amirali.shambay...@gmail.com> 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 breakpoint or not. I put a > printk after breakpoint line. It printed it and it means that it has > ignored breakpoint. Try using a hbreak, hardware breakpoint, instead of the software breakpoint.