This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Auto-deleting watchpoints
- From: Eli Zaretskii <eliz at elta dot co dot il>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Mihai dot Basa at NUIGALWAY dot IE, gdb at sources dot redhat dot com
- Date: 03 Dec 2003 07:38:37 +0200
- Subject: Re: Auto-deleting watchpoints
- References: <3FCC0BA0@bodkin.nuigalway.ie> <20031202204451.GA14313@nevyn.them.org>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> 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.