X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <47127845.5000905@portugalmail.pt>
Date: Sun, 14 Oct 2007 21:12:53 +0100
From: Pedro Alves <pedro_alves@portugalmail.pt>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [gdb] Data watchpoints in Windows weirdness.  Call for testers.
References: <4702E6B7.8020100@portugalmail.pt> <20071008124331.GD19254@calimero.vinschen.de> <20071008143552.GA20746@ednor.casa.cgf.cx> <47115BEF.7030407@portugalmail.pt> <ferqrc$ndc$1@ger.gmane.org>
In-Reply-To: <ferqrc$ndc$1@ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

Cheers,
Pedro Alves



--
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/

