Watchpoints in GDB

Daniel Jacobowitz drow@false.org
Tue Dec 12 22:58:00 GMT 2006


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



More information about the Gdb mailing list