delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/06/18:27:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: gdb and cywin
Date: Tue, 6 Jun 2000 18:04:55 -0400
Message-ID: <002601bfd003$4a6251e0$ea36ba8c@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <20000606205442.23391.qmail@web124.yahoomail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Importance: Normal

Earnie Boyd writes:
>> >> >
>> >> >--- Norman Vine <nhv AT cape DOT com> wrote:
>> >> >>
>> >> >> I have problems with this gdb also :-(
>> >> >
>> >> >What happens with the new version of gdb if you
>> >> >
>> >> >bash$ mount -f -b c:/ /c
>> >> >bash$ gdb yourprogram.exe
>> >> 
>> >> same error message as before.
>> >> "Can't find a usable main.tcl"
>> >
>> >What does `cygcheck -s -r -v' report?
>> 
>> attached.
>
>Well, I see a problem but I don't know how you managed it.  
>I must ask if you set the SHELL environment variable in say 
>.bashrc or somewhere else?  

Good catch !!
Hmmm...  I don't know.

The only place I know of where I set SHELL is in config.sys
SHELL=C:\WINDOWS\COMMAND.COM C:\ /E:2048 /P

It is not set in any of 
autoexec.bat
cygwin.bat
.bashrc
.bash_profile

NHV:/> bash --version
GNU bash, version 2.04.0(10)-release (i586-pc-cygwin32)
Copyright 1999 Free Software Foundation, Inc

>Your SHELL=/bin/bash^M which doesn't exist and will cause other 
>problems but not this one.

>My guess on this is that you're tcl startup files have \r\n 
>line endings.  

Hmm..  they are all reported as Unix files

>What happens if you change your mounts to text mode processing?

Same problem :-(

Regards

Norman


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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