Mail Archives: djgpp/1998/08/16/05:42:05

Date: Sun, 16 Aug 1998 12:42:02 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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$>
Message-ID: <Pine.SUN.3.91.980816123838.6981m-100000@is>
MIME-Version: 1.0

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 -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019