This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb 7.8 consistently fails to run executable - error is


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.strasser@onespin-solutions.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]