This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.19: changes have broken Qt3
- From: Ralf Habacker <ralf dot habacker at freenet dot de>
- To: cygwin at cygwin dot com
- Date: Sat, 27 May 2006 21:12:20 +0200
- Subject: Re: 1.5.19: changes have broken Qt3
- References: <04d601c67f2d$97a3d430$a501a8c0@CAM.ARTIMI.COM>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave Korn schrieb:
> On 24 May 2006 13:19, Ralf Habacker wrote:
>
>> This breakpoint is never reached (at least in released gdb) and makes it
>> hard to debug cygwin's threading stuff, probably impossible in this area.
>
> How many times do you have to be told? The last released gdb is known to
> not cope with this. IT IS A KNOWN BUG. IT HAS BEEN FIXED.
>
I have downloaded and compiled gdb weekly snapshot (20060522), but there
are still problems with tracing after an internal exception occured. I
am using testcase mutex1n.c from cvs path
src/winsup/testsuite/winsup.api/pthread and set a breakpoint to
pthread_mutexattr_init
Breakpoint 1, pthread_mutexattr_init (attr=0x404040) at
/netrel/src/cygwin-snapshot-20060522-1/winsup/cygwin/cygtls.h:253
1: x/i $eip 0x610b0f07 <pthread_mutexattr_init+7>: lea
0xffffff08(%ebp),%esi
(gdb) ni
<snip>
0x610b1005 129 in
/netrel/src/cygwin-snapshot-20060522-1/winsup/cygwin/thread.cc
1: x/i $eip 0x610b1005 <pthread_mutexattr_init+261>: cmpl
$0xdf0df049,0x4(%eax)
(gdb)
here the internal exception occurs and gdb is out of sync until the
application ends or a later breakpoint is hit.
0x7c91eaf0 in ntdll!LdrDisableThreadCalloutsForDll () from
/c/WINDOWS/system32/ntdll.dll
1: x/i $eip 0x7c91eaf0 <ntdll!LdrDisableThreadCalloutsForDll+4>:
mov (%esp),%ebx
(gdb)
0x7c91eaf3 in ntdll!LdrDisableThreadCalloutsForDll () from
/c/WINDOWS/system32/ntdll.dll
1: x/i $eip 0x7c91eaf3 <ntdll!LdrDisableThreadCalloutsForDll+7>:
push %ecx
(gdb)
0x7c91eaf4 in ntdll!LdrDisableThreadCalloutsForDll () from
/c/WINDOWS/system32/ntdll.dll
1: x/i $eip 0x7c91eaf4 <ntdll!LdrDisableThreadCalloutsForDll+8>:
push %ebx
(gdb)
0x7c91eaf5 in ntdll!LdrDisableThreadCalloutsForDll () from
/c/WINDOWS/system32/ntdll.dll
1: x/i $eip 0x7c91eaf5 <ntdll!LdrDisableThreadCalloutsForDll+9>:
call 0x7c9477c1 <ntdll!LdrFindCreateProcessManifest+424>
(gdb)
Program exited normally.
(gdb)
Regards
Ralf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEeKSToHh+5t8EXncRAgxiAJsHfqsBSME06zaSaMD/kgrQH4GJAgCeMqUp
wSedYnMrgNRpkpXRuny/2YE=
=1zgp
-----END PGP SIGNATURE-----
--
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/