Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Fri, 22 Oct 1999 13:45:32 -0400
To: Earnie Boyd <earnie_boyd@yahoo.com>
Cc: Jon Leichter <jon@symas.com>, cygwin@sourceware.cygnus.com
Subject: Re: B20.1: Thread support seems to be broken in 'gdb'
Message-ID: <19991022134532.B948@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: Earnie Boyd <earnie_boyd@yahoo.com>,
	Jon Leichter <jon@symas.com>, cygwin@sourceware.cygnus.com
References: <19991022043728.24064.rocketmail@web124.yahoomail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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@symas.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@sourceware.cygnus.com

