This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Watchpoints in GDB


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]