delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/21/22:34:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Jon Leichter" <jon AT symas DOT com>
To: <earnie_boyd AT yahoo DOT com>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: B20.1: Thread support seems to be broken in 'gdb'
Date: Thu, 21 Oct 1999 19:32:16 -0700
Message-ID: <001e01bf1c35$a7c2d030$a0418218@bass.we.mediaone.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
In-Reply-To: <19991022022718.28031.rocketmail@web116.yahoomail.com>

I know that Cygwin is not thread safe. I was under the assumption that this
specifically applies to the Cygwin DLL, which I am not using in the sample
that I've provided. My sample is a pure Mingw32 compiled program and does not
use the Cygwin DLL. The resulting binary IS supported because the threads are
managed by Win32 DLLs.

The issue is whether or not (Cygwin's provided) 'gdb' is supposed to handle
threads. As I pointed out, Mingw32's distribution of 'gdb' has no problem
debugging threads. It seems reasonable to expect the same from Cygwin's
distribution.

Jon Leichter
jon AT symas DOT com


> -----Original Message-----
> From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
> Sent: Thursday, October 21, 1999 7:27 PM
> To: Jon Leichter; cygwin AT sourceware DOT cygnus DOT com
> Cc: jon AT symas DOT com
> Subject: Re: B20.1: Thread support seems to be broken in 'gdb'
>
>
> --- Jon Leichter <jon AT symas DOT com> wrote:
> > I could not find mention of this problem in the Cygwin FAQs or the mailing
> > list.
> >
>
> You didn't look hard enough.  Cygwin is _not_ thread safe.
>
> -8<-
> >
> > I always get a signal SIGTRAP message whenever I try to debug any threaded
> > application. The rest of the 'gdb' session is completely
> unusable. I can run
> > this program (outside of the debugger) with no problem.
> >
> > I'll point out that the version of 'gdb' provided with Mingw32's
> standalone
> > package does not have this problem.
> >
>
>
> =====
> Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019