delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/22/13:44:03

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: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 22 Oct 1999 13:45:32 -0400
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Cc: Jon Leichter <jon AT symas DOT com>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: B20.1: Thread support seems to be broken in 'gdb'
Message-ID: <19991022134532.B948@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Earnie Boyd <earnie_boyd AT yahoo DOT com>,
Jon Leichter <jon AT symas DOT com>, cygwin AT sourceware DOT cygnus DOT com
References: <19991022043728 DOT 24064 DOT rocketmail AT web124 DOT yahoomail DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19991022043728.24064.rocketmail@web124.yahoomail.com>; from Earnie Boyd on Thu, Oct 21, 1999 at 09:37:28PM -0700

On Thu, Oct 21, 1999 at 09:37:28PM -0700, Earnie Boyd wrote:
>--- Jon Leichter <jon AT symas DOT com> wrote:
>> 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.
>> 
>
>But how can a non-thread safe package debug a package using threads?  The
>cygwin gdb uses cygwin, the mingw32 gdb does not.  And Chris Faylor would say
>"patches are gratefully accepted".

:-)  I don't remember if the gdb in B20.1 is capable of handling threads but
if you build a version from a sourceware snapshot it will work.  I haven't
tried thread breakpoints though, so it's possible that those are broken.

cgf

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