From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6193 invoked by alias); 26 Aug 2004 13:23:59 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6185 invoked from network); 26 Aug 2004 13:23:57 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 26 Aug 2004 13:23:57 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id i7QDNunj028096 for ; Thu, 26 Aug 2004 15:23:56 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Thu, 26 Aug 2004 15:23:37 +0200 Message-Id: <5.2.0.9.1.20040826150437.01d3e3b8@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Thu, 26 Aug 2004 13:23:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: gdb and older cygwins In-Reply-To: <412DDD3B.nail3NS112HDC@mindspring.com> References: <5.2.0.9.1.20040826130046.01d35970@NT_SERVER> <5.2.0.9.1.20040826130046.01d35970@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-08/txt/msg00384.txt.bz2 At 08:53 26.08.2004 -0400, Michael Chastain wrote: >Fabian Cenedese wrote: >> PS: The other solution would be to fix the 2.95.3 source about this >> CRLF bug. I looked into the gcc list but couldn't find simple patches, >> I guess it needs a bigger change. If anyone has some hints about it... > >Well first, gcc 2.95.3 is no longer supported on Cygwin. Apart from this CRLF bug it seemed to have worked. My source files could be compiled and after converting the line endings this error disappeared as well. >So you are on your own. But I do have some hints about it. > >I can think of six strategies to try: > >I would recommend (3B), followed by (1). (2) is attractive but >if you don't handle the edge case then you will have random >intermittent losses. (4) and (5) have side effects that you >would have to handle. Wow, that's a lot to try out :) Thanks for the many possibilities. I also have tried to compile some gdb versions with my old cygwin environment: gdb 5.0: commented out strsignal in defs.h, then worked gdb 5.2.1: missing netinet/tcp.h but accepted an empty file gdb 5.3: missing netinet/tcp.h but accepted an empty file gdb 6.0: make stopped in readline with undeclared stuff gdb 6.2: make stopped already in libiberty with undeclared stuff (MAX_PATH, DWORD... sounds Windowsy) So even if everything new would be best I'm not all out. gdb 5 should provide everything we need for the remote connection. I will still try some of your suggestions. Maybe I can at least use a newer cygwin. Thanks a lot. bye Fabi