[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Problem in setting breakpoints at kernel code using "qe
From: |
Craig Brozefsky |
Subject: |
Re: [Qemu-devel] Problem in setting breakpoints at kernel code using "qemu and gdb" |
Date: |
Fri, 15 Apr 2011 00:38:23 -0500 |
On Thu, Apr 14, 2011 at 10:16 AM, Amirali Shambayati
<address@hidden> 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.