Could not insert hardware watchpoint 3

Jonas Maebe jonas.maebe@elis.ugent.be
Tue Apr 2 14:02:00 GMT 2013


On 02 Apr 2013, at 15:48, ishare wrote:

>  Sometimes , gdb report this to me ,especially at remote debug  
> session .
>  But i noly set that one watch point .
>
>  What is the root reason ? Is there suggestion here ? Thanks in  
> advance !

Watchpoints and breakpoints share the same numbering, so if you have  
already set two breakpoints then the first watchpoint will be number  
3. The problem is probably that your remote target simply does not  
support hardware watchpoints (or at least gdb or the gdbserver doesn't  
support them on that target).


Jonas



More information about the Gdb mailing list