Auto-deleting watchpoints

Eli Zaretskii eliz@elta.co.il
Wed Dec 3 05:36:00 GMT 2003


> Date: Tue, 2 Dec 2003 15:44:51 -0500
> From: Daniel Jacobowitz <drow@mvista.com>
> >     
> > This includes deleting local watchpoints even when the program makes a call to 
> > a library function (say, sqrt()). I believe this auto-deletion _severly_ 
> > reduces the practicality of watchpoints, because they simply go away on the 
> > first call they hit!
> 
> That is not what is supposed to happen.  The watchpoint should stay
> until the function containing the local variable has exited.

Right.  And I have simple test cases to prove it.

Mihai, you probably discovered a bug.  Please send a test case.



More information about the Gdb mailing list