delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/08/08:38:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=f8Ms5yEFIouhJK2kVvH+CYq7T+cMY75U60uITt7csgK
m0lR3x6MGl+ThLvPEZ2WTUfAZvtsTBgWrdF2cxYvPKIlXDU9iECDnrCWEoGPx7ry
Qbg3QafXfLKt0beeBv+cJxXHqosOKS3Aa9t4WMgFNQkB4bIj+vFn2bTUV/gJtvUU
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=kGbYxRtj4APzE5zUWtwFEHEVmeo=; b=ZVwcU7tohopUt3AEL
B8oVGo+qRt9J0K9R0DEkbexLXtO4DzGdrUUd7jxsblNBvOJhHhfu1aF0VdT+j4/h
fa+gk6JXgWA1cEcmDwXafsPDRn8oyCAFKt/6xXrsLEy2xVyZSe/IAicUzi8np7O2
6ynnU9tyXKOdEdm555m3nF3kEo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: ossmail01.onespin-solutions.com
Message-ID: <5435302A.6030800@onespin-solutions.com>
Date: Wed, 08 Oct 2014 14:38:02 +0200
From: =?UTF-8?B?RG9taW5payBTdHJhw59lcg==?= <dominik DOT strasser AT onespin-solutions DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gdb 7.8 consistently fails to run executable - error is
References: <1408580171694-110722 DOT post AT n5 DOT nabble DOT com> <loom DOT 20140821T100019-590 AT post DOT gmane DOT org> <1408732343936-110800 DOT post AT n5 DOT nabble DOT com> <5423F775 DOT 7030208 AT onespin-solutions DOT com> <54294CED DOT 9050602 AT onespin-solutions DOT com> <20141008121224 DOT GB29235 AT calimero DOT vinschen DOT de>
In-Reply-To: <20141008121224.GB29235@calimero.vinschen.de>
X-Spam-Score: -2.9 () ALL_TRUSTED,BAYES_00
X-IsSubscribed: yes

Am 08.10.2014 um 14:12 schrieb Corinna Vinschen:
> On Sep 29 14:13, Dominik Straßer wrote:
>> Hi all,
Hi Corinna,
>> I've dug into the gdb sources. The problem is in the cygwin-only 
>> part and is not about the PATH variable but about one single DLL 
>> file name.
>> 
>> This path length is *fixed* to 512 characters 
>> (SO_NAME_MAX_PATH_SIZE) for the *realpath* of the DLL.
> 
> Thanks for looking into this.  While this occurs in Cygwin-specific
> code, the problem is a result of the restriction of 
> so_list::so_name being always SO_NAME_MAX_PATH_SIZE in length.
> 
> I'm not sure how to fix this problem yet.  I'll look into it when I
> had a chance to catch up with my insane mail backlog.
I only see a chance by makin this a dynamic storage.
as indicated in solist.h
#define SO_NAME_MAX_PATH_SIZE 512	/* FIXME: Should be dynamic */


Regards

Dominik
-- 
Dominik Strasser       | Phone:  +49 89 99013-436
OneSpin Solutions GmbH | Fax:    +49 89 99013-100
Nymphenburgerstr. 20a
80335 Muenchen         | dominik DOT strasser AT onespin-solutions DOT com
Geschaeftsfuehrung: Dr. Raik Brinkmann, Oliver Habeck
Vorsitzender des Beirats: Paul Hill
Sitz: Muenchen; Amtsgericht Muenchen HRB 139464
UstID#: DE 814413215

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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