This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Watchpoints in GDB
- From: Daniel Jacobowitz <drow at false dot org>
- To: zubrowa <my_eauctions at yahoo dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 12 Dec 2006 17:58:43 -0500
- Subject: Re: Watchpoints in GDB
- References: <7843781.post@talk.nabble.com>
On Tue, Dec 12, 2006 at 02:57:30PM -0800, zubrowa wrote:
>
> Hi,
>
> I want to see any changes that are performed to a specific memory
> area. So, I set a watchpoint with wa *(int*)0xXXXX and continue the
> execution. Then, I get the GDB errror message:
>
> Can't clear hardware watchpoints without the 'Z2' (write-watchpoint) packet
>
> Any ideas what's wrong?
The error message is not helpful, but the problem is usually that your
remote target does not support watchpoints. I believe the error
message is somewhat improved in HEAD gdb.
--
Daniel Jacobowitz
CodeSourcery