----- Original Message -----
From: "Earnie Boyd" <[EMAIL PROTECTED]>
To: "Robert Collins" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Joost Kraaijeveld" <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 2:46 AM
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem
in Cygwin 1.1.8-2]
thanks Earnie. I don't recall what prcise date my threads rewrite went
into CVS - do you know if your snapshot has my streamlined code?
Rob
>
>
> $ uname -a
> CYGWIN_NT-4.0 DU211344 1.3.0(0.36/3/2) 2001-03-18 16:59 i686 unknown
>
> > 3) What's the value of ecx when it dies? Mine is
> > (gdb) info register
> > eax 0x407004 4222980
> > ecx 0xc0 192
> >
> > 3a) Earnie - if you have a few minutes, can you put a breakpoint on
the
> > offending instruction, and report back the output o
> > info registers
>
> (gdb) info registers
> eax 0x3 3
> ecx 0x3 3
> edx 0x3 3
> ebx 0x1e51ec58 508685400
> esp 0x1e51e430 0x1e51e430
> ebp 0x1e51e4b8 0x1e51e4b8
> esi 0xa0111f0 167842288
> edi 0x1e51e968 508684648
> eip 0x4010cc 0x4010cc
> eflags 0x202 514
> cs 0x1b 27
> ss 0x23 35
> ds 0x23 35
> es 0x23 35
> fs 0x38 56
> gs 0x0 0
> fctrl 0x27f 639
> fstat 0x0 0
> ftag 0xffff 65535
> fiseg 0x0 0
> fioff 0x0 0
> foseg 0x0 0
> fooff 0x0 0
> fop 0x0 0
>
>
>
> > info locals
>
> No locals.
>
> > info threads
>
> (gdb) info threads
> * 3 thread 266.0x172 threadFunction (arg=0x0) at Main.cpp:14
> 2 thread 266.0x178 0x77f6828b in ?? ()
> 1 thread 266.0x17e 0x77f678df in ?? ()
> threadFunction (arg=0x0) at Main.cpp:14
>
>
> > bt in each thread?
> >
>
> (gdb) thread 1
> [Switching to thread 1 (thread 266.0x17e)]
> #0 0x77f678df in ?? ()
>
> (gdb) bt
> #0 0x77f678df in ?? ()
> #1 0x77f1ced8 in ?? ()
> #2 0x61004862 in _size_of_stack_reserve__ ()
> #3 0x61004b3d in _size_of_stack_reserve__ ()
> #4 0x61005283 in _size_of_stack_reserve__ ()
> #5 0x404d14 in __main ()
>
> (gdb) thread 2
> [Switching to thread 2 (thread 266.0x178)]
> #0 0x77f6828b in ?? ()
>
> (gdb) bt
> #0 0x77f6828b in ?? ()
> #1 0x77f1cd92 in ?? ()
> #2 0x61056026 in _size_of_stack_reserve__ ()
> #3 0x61005731 in _size_of_stack_reserve__ ()
> #4 0x77f04ee8 in ?? ()
>
> (gdb) thread 3
> [Switching to thread 3 (thread 266.0x172)]
> #0 threadFunction (arg=0x0) at Main.cpp:14
>
> (gdb) bt
> #0 threadFunction (arg=0x0) at Main.cpp:14
> #1 0x6106661c in _size_of_stack_reserve__ ()
> #2 0x77f04ee8 in ?? ()
>
> (gdb) step
>
> (gdb) info registers
> eax 0x0 0
> ecx 0x407020 4223008
> edx 0x1e51e498 508683416
> ebx 0x1e51ec58 508685400
> esp 0x1e51e430 0x1e51e430
> ebp 0x1e51e4b8 0x1e51e4b8
> esi 0xa0111f0 167842288
> edi 0x1e51e968 508684648
> eip 0x4011c0 0x4011c0
> eflags 0x246 582
> cs 0x1b 27
> ss 0x23 35
> ds 0x23 35
> es 0x23 35
> fs 0x38 56
> gs 0x0 0
> fctrl 0x27f 639
> fstat 0x0 0
> ftag 0xffff 65535
> fiseg 0x0 0
> fioff 0x0 0
> foseg 0x0 0
> fooff 0x0 0
> fop 0x0 0
>
> (gdb) info locals
> No locals.
>
> (gdb) info threads
> * 3 thread 266.0x172 threadFunction (arg=0x0) at Main.cpp:20
> 2 thread 266.0x178 0x77f6828b in ?? ()
> 1 thread 266.0x17e 0x77f678df in ?? ()
>
> (gdb) thread 1
> [Switching to thread 1 (thread 266.0x17e)]
> #0 0x77f678df in ?? ()
>
> (gdb) bt
> #0 0x77f678df in ?? ()
> #1 0x77f1ced8 in ?? ()
> #2 0x61004862 in _size_of_stack_reserve__ ()
> #3 0x61004b3d in _size_of_stack_reserve__ ()
> #4 0x61005283 in _size_of_stack_reserve__ ()
> #5 0x404d14 in __main ()
>
> (gdb) thread 2
> [Switching to thread 2 (thread 266.0x178)]
> #0 0x77f6828b in ?? ()
>
> (gdb) bt
> #0 0x77f6828b in ?? ()
> #1 0x77f1cd92 in ?? ()
> #2 0x61056026 in _size_of_stack_reserve__ ()
> #3 0x61005731 in _size_of_stack_reserve__ ()
> #4 0x77f04ee8 in ?? ()
>
> (gdb) thread 3
> [Switching to thread 3 (thread 266.0x172)]
> #0 threadFunction (arg=0x0) at Main.cpp:20
>
> (gdb) bt
> #0 threadFunction (arg=0x0) at Main.cpp:20
> #1 0x6106661c in _size_of_stack_reserve__ ()
> #2 0x77f04ee8 in ?? ()
>
> (gdb) step
> Unable to Read Instructions at 0x6106661c
>
> HTH,
> Earnie.
>
So do I!. Thank you.
Rob
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple