delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/10/13:09:46

X-Spam-Check-By: sourceware.org
Date: Tue, 10 Jan 2006 13:09:33 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: unable to debug code with std::string
Message-ID: <20060110180933.GC29862@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <dq0lp6$o68$1 AT sea DOT gmane DOT org> <43C3DC3B DOT C10FFB1E AT dessent DOT net> <dq0omo$54u$1 AT sea DOT gmane DOT org> <43C3E9DC DOT 5C74D7DA AT dessent DOT net> <dq0ret$h3i$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <dq0ret$h3i$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Jan 10, 2006 at 06:38:54PM +0100, Krzysztof Duleba wrote:
>Brian Dessent
>
>>>Thanks. I don't like the idea of seeing this message anytime I debug
>>>code
>>>that's using std::string, though, and I don't think it's "normal".
>>
>>If it bothers you, comment out the "if (pthread_key::is_good_object
>>(key))" check in thread.cc.
>
>It does bother me.
>
>tread.cc from 1.5.18 and from the cvs are very alike and both call
>pthread_key::is_good_object in the same fashion. Why only 1.5.19 is having
>this problem?

Either it is because we are purposely trying to annoy you or it may be
because cygwin 1.5.19 changed the way it detects invalid memory and gdb
hasn't caught up to it.

As Brian said: http://cygwin.com/acronyms/#PTC .

>This line surely has a purpose.  What will break up if I comment it
>out?  If nothing then why it is there?

I wouldn't recommend commenting it out, actually.

cgf


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

- Raw text -


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