This is the mail archive of the gdb@sources.redhat.com 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: Auto-deleting watchpoints


> 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.


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