That works well. Thanks so much Craig. On Fri, Apr 15, 2011 at 10:08 AM, Craig Brozefsky <cr...@red-bean.com> wrote: > 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. >
-- Amirali Shambayati Bachelor Student Computer Engineering Department Sharif University of Technology Tehran, Iran