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/