Date: Sun, 16 Aug 1998 12:42:02 +0300 (IDT) From: Eli Zaretskii To: mdruiter AT cs DOT vu DOT nl cc: djgpp AT delorie DOT com Subject: Re: fsdb crashes post emacs In-Reply-To: <6qci27$661$1@star.cs.vu.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.