Mail Archives: djgpp/1998/08/16/05:42:05
On 6 Aug 1998 mdruiter AT cs DOT vu DOT nl wrote:
> No, I do mean both. Somehow, I only got watchpoints to work, if some
> breakpoint was encountered first. I don't know why, but it worked for
> me several times. I may have been lucky, though...
It seems you have been lucky, because I cannot reproduce your success.
The most I could get using your proposal is have GDB print a message that
a watchpoint ``was deleted since the program exited its scope'', and once
I even saw a message that the program has received SIGTRAP (I guess that
SIGTRAP was the watchpoint which fired).
Could you please post a short program and a detailed procedure to get
watchpoints to work on that program? Thanks in advance.
- Raw text -