X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 15 Oct 2007 11:19:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [gdb] Data watchpoints in Windows weirdness. Call for testers. Message-ID: <20071015091947.GS20400@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4702E6B7 DOT 8020100 AT portugalmail DOT pt> <20071008124331 DOT GD19254 AT calimero DOT vinschen DOT de> <20071008143552 DOT GA20746 AT ednor DOT casa DOT cgf DOT cx> <47115BEF DOT 7030407 AT portugalmail DOT pt> <47127845 DOT 5000905 AT portugalmail DOT pt> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47127845.5000905@portugalmail.pt> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Oct 14 21:12, Pedro Alves wrote: > René Berber wrote: > > (...) > >> Program received signal SIGTRAP, Trace/breakpoint trap. >> main () at main.c:18 >> 18 Sleep (1000); >> (gdb) p count >> $3 = 1001 >> (gdb) c >> Continuing. >> Hardware watchpoint 2: count >> Old value = 0 >> New value = 1002 > > (...) > > Thanks! That clearly shows the exact same problem. > Somehow, the code in the while(1) loop starts behaving, > and for the same executable, the symptom manifests exactly > across machines. If one tweaks the program a little, the > problem shows up in different lines. > > Could you tell me what version of Windows was that? > > I'd be perfect if someone with access to a Windows != XP > machine could do the same test. I could reproduce it on Win2K SP4, Vista, and under WOW64 on Vista 64. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/