This is the mail archive of the cygwin@sourceware.cygnus.com 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]

RE: gdb and cywin


Earnie Boyd writes:
>> >> >
>> >> >--- Norman Vine <nhv@cape.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@sourceware.cygnus.com


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