* RE: gdb and cywin
@ 2000-06-06 13:54 Earnie Boyd
2000-06-06 15:23 ` Norman Vine
0 siblings, 1 reply; 11+ messages in thread
From: Earnie Boyd @ 2000-06-06 13:54 UTC (permalink / raw)
To: nhv, cygwin
--- Norman Vine <nhv@cape.com> wrote:
> 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? 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. What
happens if you change your mounts to text mode processing?
Regards,
=====
---
Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
__Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
__Minimalist GNU for Windows__
Mingw32 List: < http://www.egroups.com/group/mingw32/ >
Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
2000-06-06 13:54 gdb and cywin Earnie Boyd
@ 2000-06-06 15:23 ` Norman Vine
2000-06-07 7:22 ` Jason Tishler
0 siblings, 1 reply; 11+ messages in thread
From: Norman Vine @ 2000-06-06 15:23 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gdb and cywin
2000-06-06 15:23 ` Norman Vine
@ 2000-06-07 7:22 ` Jason Tishler
2000-06-07 8:58 ` Norman Vine
0 siblings, 1 reply; 11+ messages in thread
From: Jason Tishler @ 2000-06-07 7:22 UTC (permalink / raw)
To: nhv; +Cc: cygwin
Norman,
Norman Vine wrote:
> Earnie Boyd writes:
> >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
My guess is that your /etc/passwd has \r\n line ends. Hence, when
bash starts up and reads /etc/passwd, it sets your SHELL variable to
"/bin/bash^M". If this is your problem, then removing the \r's should
resolve it.
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
2000-06-07 7:22 ` Jason Tishler
@ 2000-06-07 8:58 ` Norman Vine
0 siblings, 0 replies; 11+ messages in thread
From: Norman Vine @ 2000-06-07 8:58 UTC (permalink / raw)
To: 'Jason Tishler'; +Cc: cygwin
Jason Tishler writes:
>
>Norman Vine wrote:
>> Earnie Boyd writes:
>> >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.
>>
>
>My guess is that your /etc/passwd has \r\n line ends. Hence, when
>bash starts up and reads /etc/passwd, it sets your SHELL variable to
>"/bin/bash^M". If this is your problem, then removing the \r's should
>resolve it.
>
Bingo !!!
Thanks :^)
Norman
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
2000-06-06 10:21 Earnie Boyd
@ 2000-06-06 13:26 ` Norman Vine
0 siblings, 0 replies; 11+ messages in thread
From: Norman Vine @ 2000-06-06 13:26 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
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.
Thanks.
Norman
[-- Attachment #2: cygcheck.nhv --]
[-- Type: text/x-Algol68, Size: 10433 bytes --]
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Jun 6 20:02:04 2000
Win9X Ver 4.10 build 67766222
Path: /usr/bin
/USR/LOCAL/BIN
/c/BIN
/c/WINDOWS
/c/WINDOWS/COMMAND
.
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `/home/NHV'
MAKE_MODE = `UNIX'
PWD = `/usr/local/src'
USER = `NHV'
!C: = `C:\cygwin'
!D: = `D:\Devel\xdb-1.2.0\html'
!E: = `E:\devel\plib'
!F: = `F:\FlightGear-0.7.4'
A_PATH = `C:\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;'
BLASTER = `A220 I7 D1 T2 '
B_PATH = `C:\Perl\bin;c:\Progra~1\Tcl\bin;'
CMDLINE = `run rxvt -bg "azure3" -fn "Lucida Console-bold-16" -tn linux-c -sr -sl 500 -e bash'
COLORFGBG = `0;default'
COLORTERM = `rxvt-xpm'
COMSPEC = `C:\COMMAND.COM'
DISPLAY = `:0'
FG_ROOT = `//F/FlightGear-0.59'
HOSTNAME = `NHV'
HOSTTYPE = `i586'
MACHTYPE = `i586-pc-cygwin'
OLDPWD = `/d/gl/fltk-snapshot/test'
OSTYPE = `cygwin'
PROMPT = `$p$g'
PS1 = `\h:\e[34m\w\[\e[0m\]> '
SHELL = `/bin/bash\r'
SHLVL = `1'
SNDSCAPE = `C:\WINDOWS'
TEMP = `C:\temp'
TERM = `linux-c'
TMP = `c:\temp'
TZ = `EST'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINDOWID = `72941680'
WXWIN = `F:\DEVEL\WX2'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Microsoft\ftp\Accounts\sourceware.cygnus.com
(default) = `'
Login Attributes = 0x00000002
= `'
HKEY_CURRENT_USER\Software\Microsoft\ftp\Accounts\sourceware.cygnus.com\anonymous
(default) = `'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/d
(default) = `d:\'
flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/e
(default) = `e:\'
flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f
(default) = `f:\'
flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `c:\cygwin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `c:\cygwin\lib'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `c:\cygwin\bin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
(default) = `c:\'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components\C:/cygwin
(default) = `20000517'
bash = `0002.0004'
binutils = `19990818.0001'
bison = `0000'
byacc = `0000'
bzip = `0000'
clear = `0001.0000'
cygwin = `0001.0001.0001'
dejagnu = `0000'
diff = `0000'
expect = `0000'
fileutils = `0000'
findutils = `0000'
flex = `0000'
gawk = `0000'
gcc = `0002.0095.0002.0001'
gdb = `20000415'
gperf = `0000'
grep = `0000'
groff = `0001.011a.0001'
gzip = `0000'
less = `0000'
libpng = `0001.0000.0006.0001'
m = `0000'
make = `0000'
man = `0001.005g.0002'
patch = `0000'
sed = `0003.0002.0001'
shellutils = `0000'
tar = `0000'
tcltk = `0000'
termcap = `0002'
texinfo = `0000'
textutils = `0000'
time = `0000'
zlib = `0001.0001.0003.0001'
inetutils = `0001.0003.0002.0002'
login = `0001.0002'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
a: fd N/A N/A
c: hd FAT32 3088Mb 96% CP UN NHV_233
d: hd FAT32 2035Mb 94% CP UN IDE2_A
e: hd FAT32 2035Mb 94% CP UN IDE2_B
f: hd FAT32 2035Mb 97% CP UN IDE2_C
i: cd CDFS 621Mb 100% UN Windows 98
c:\cygwin\bin /usr/bin user binmode
c:\cygwin\lib /usr/lib user binmode
c:\cygwin / user binmode
c: /c user binmode
d: /d user textmode
e: /e user textmode
f: /f user textmode
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cpp.exe
Found: c:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: c:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: c:\cygwin\bin\gcc.exe
Found: c:\cygwin\bin\gdb.exe
Found: c:\cygwin\bin\ld.exe
Found: c:\cygwin\bin\ls.exe
Found: c:\cygwin\bin\make.exe
Found: c:\cygwin\bin\sh.exe
605k 2000/06/03 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/6/2 19:59
115k 1999/09/14 c:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=1999/9/14 2:46
63k 1999/09/14 c:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=1999/9/14 2:47
402k 2000/06/04 c:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/5/29 4:10
19k 1999/09/14 c:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
24k 1999/09/14 c:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=1999/9/14 2:31
768k 1999/09/14 c:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=1999/9/14 2:36
Use -h to see help about each section
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
@ 2000-06-06 10:21 Earnie Boyd
2000-06-06 13:26 ` Norman Vine
0 siblings, 1 reply; 11+ messages in thread
From: Earnie Boyd @ 2000-06-06 10:21 UTC (permalink / raw)
To: nhv; +Cc: cygwin users
--- Norman Vine <nhv@cape.com> wrote:
> Earnie Boyd writes:
> >
> >--- Norman Vine <nhv@cape.com> wrote:
> >>
> >> I have problems with this gdb also :-(
> >>
> >
> >Our problems weren't the same. My problem was that for some
> >unknown reason the cygtcl80.dll didn't extract from the file.
> >I reextracted and now gdb behaves normally.
>
> I think that it extracted OK for me
>
> NHV:/bin> ls -l cygtcl80.dll
> -rw-r--r-- 1 nhv poweruse 411136 Jun 4 04:00 cygtcl80.dll
>
> >
> >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"
>
> NHV:/bin> mount
> Device Directory Type Flags
> c:\cygwin\bin /usr/bin user binmode
> c:\cygwin\lib /usr/lib user binmode
> c:\cygwin / user binmode
> c: /c user binmode
>
> ???
>
What does `cygcheck -s -r -v' report?
Cheers,
=====
---
Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
__Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
__Minimalist GNU for Windows__
Mingw32 List: < http://www.egroups.com/group/mingw32/ >
Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
@ 2000-06-06 5:58 Earnie Boyd
0 siblings, 0 replies; 11+ messages in thread
From: Earnie Boyd @ 2000-06-06 5:58 UTC (permalink / raw)
To: nhv, cygwin
--- Norman Vine <nhv@cape.com> wrote:
> Chris Faylor wrote:
> >
> >I put up a new version of gdb over the weekend. This just replaces two
> >files which seem to fix this problem for me. Earnie Boyd still seems
> >to have problems though.
> >
>
> I have problems with this gdb also :-(
>
Our problems weren't the same. My problem was that for some unknown reason the
cygtcl80.dll didn't extract from the file. I reextracted and now gdb behaves
normally.
> The Error Box message starts
>
> Can't find a usable main.tcl in the following directories:
> C:/CYGWIN/usr/share/gdbtcl; .............
>
> closing window exits gdb
>
> NHV:/usr/share/gdbtcl> ls -l main.tcl
> -rw-r--r-- 1 nhv poweruse 4401 Apr 15 21:18 main.tcl
> //DIRED// 57 65
>
> I have overlaid my V1.1 with cygwin-inst-20000601.tar.gz
>
> I get the same response on both texmode and binmode mounted drives.
>
> NHV:/> mount
> Device Directory Type Flags
> c:\cygwin\bin /usr/bin user binmode
> c:\cygwin\lib /usr/lib user binmode
> c:\cygwin / user binmode
> c: /c user textmode
> d: /d user textmode
> e: /e user textmode
> f: /f user textmode
>
What happens with the new version of gdb if you
bash$ mount -f -b c:/ /c
bash$ gdb yourprogram.exe
>
> If I try the new gdb with the old tcl dll
> The error message reads can not stat (name of source file)
> but gdb does not exit and I can get asm and mixed asm mode
> but not source mode in the Insight window
>
That's the problem Chris fixed.
Cheers,
=====
---
Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
__Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
__Minimalist GNU for Windows__
Mingw32 List: < http://www.egroups.com/group/mingw32/ >
Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: gdb and cywin
2000-06-05 8:47 ` Chris Faylor
@ 2000-06-05 16:15 ` Norman Vine
0 siblings, 0 replies; 11+ messages in thread
From: Norman Vine @ 2000-06-05 16:15 UTC (permalink / raw)
To: cygwin
Chris Faylor wrote:
>
>I put up a new version of gdb over the weekend. This just replaces two
>files which seem to fix this problem for me. Earnie Boyd still seems
>to have problems though.
>
I have problems with this gdb also :-(
The Error Box message starts
Can't find a usable main.tcl in the following directories:
C:/CYGWIN/usr/share/gdbtcl; .............
closing window exits gdb
NHV:/usr/share/gdbtcl> ls -l main.tcl
-rw-r--r-- 1 nhv poweruse 4401 Apr 15 21:18 main.tcl
//DIRED// 57 65
I have overlaid my V1.1 with cygwin-inst-20000601.tar.gz
I get the same response on both texmode and binmode mounted drives.
NHV:/> mount
Device Directory Type Flags
c:\cygwin\bin /usr/bin user binmode
c:\cygwin\lib /usr/lib user binmode
c:\cygwin / user binmode
c: /c user textmode
d: /d user textmode
e: /e user textmode
f: /f user textmode
If I try the new gdb with the old tcl dll
The error message reads can not stat (name of source file)
but gdb does not exit and I can get asm and mixed asm mode
but not source mode in the Insight window
??
Norman Vine
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gdb and cywin
@ 2000-06-05 9:23 Scott A. Hill
0 siblings, 0 replies; 11+ messages in thread
From: Scott A. Hill @ 2000-06-05 9:23 UTC (permalink / raw)
To: cygwin
Chris,
I downloaded the updated version that you mentioned in your message.
After a quick test, it appears to have solved my problem with the "insight"
interface. I thought Earnie and I were having the same problem, so I'm
surprised to hear that he is still having a problem. Thanks for the update.
Scott
-----Original Message-----
From: Chris Faylor <cgf@cygnus.com>
To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
Date: Monday, June 05, 2000 11:49 AM
Subject: Re: gdb and cywin
>On Mon, Jun 05, 2000 at 05:45:58AM -0700, Tim Prince wrote:
>>This should go to the cygwin mail list, to which you may wish to
>>subscribe. You will wish to check which version of cygwin you have
>>installed; recent versions have an excellent gdb.
>
>Actually, recent versions + cygwin 1.1.1 have problems reading file
>names if you're using the "insight" interface.
>
>I put up a new version of gdb over the weekend. This just replaces two
>files which seem to fix this problem for me. Earnie Boyd still seems
>to have problems though.
>
>I've included the announcement, that I sent to cygwin-apps, below.
>
>cgf
>
>>I've uploaded a new version of gdb + cygtcl80.dll to my private ftp
>>directory. This version of gdb should be able to properly find
>>file even if the files are referenced via the cygwin mount table.
>>
>>I've also made a couple of other modifications. gdb no longer
>>displays the DLLs that are loaded as they are loaded. Instead,
>>you can get a list of DLLs via the "info shared" command.
>>
>>Eventually, I'll probably add the standard capability of breaking
>>on the loading of a dll, too.
>>
>>I also added a "dll-symbols" command for loading the symbols of a DLL
>>file.
>>
>>I would appreciate it if people could give this a try before I make a
>>new release for cygwin/latest. The URL is:
>>
>> ftp://ftp.cygnus.com/private/home/cgf/gdb-20000603.tar.bz2
>>
>>You should be in your "root directory" when you extract this file. You
>>probably want to make a backup of your current version of gdb prior to
>>doing this.
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gdb and cywin
2000-06-05 5:44 ` Tim Prince
@ 2000-06-05 8:47 ` Chris Faylor
2000-06-05 16:15 ` Norman Vine
0 siblings, 1 reply; 11+ messages in thread
From: Chris Faylor @ 2000-06-05 8:47 UTC (permalink / raw)
To: cygwin
On Mon, Jun 05, 2000 at 05:45:58AM -0700, Tim Prince wrote:
>This should go to the cygwin mail list, to which you may wish to
>subscribe. You will wish to check which version of cygwin you have
>installed; recent versions have an excellent gdb.
Actually, recent versions + cygwin 1.1.1 have problems reading file
names if you're using the "insight" interface.
I put up a new version of gdb over the weekend. This just replaces two
files which seem to fix this problem for me. Earnie Boyd still seems
to have problems though.
I've included the announcement, that I sent to cygwin-apps, below.
cgf
>I've uploaded a new version of gdb + cygtcl80.dll to my private ftp
>directory. This version of gdb should be able to properly find
>file even if the files are referenced via the cygwin mount table.
>
>I've also made a couple of other modifications. gdb no longer
>displays the DLLs that are loaded as they are loaded. Instead,
>you can get a list of DLLs via the "info shared" command.
>
>Eventually, I'll probably add the standard capability of breaking
>on the loading of a dll, too.
>
>I also added a "dll-symbols" command for loading the symbols of a DLL
>file.
>
>I would appreciate it if people could give this a try before I make a
>new release for cygwin/latest. The URL is:
>
> ftp://ftp.cygnus.com/private/home/cgf/gdb-20000603.tar.bz2
>
>You should be in your "root directory" when you extract this file. You
>probably want to make a backup of your current version of gdb prior to
>doing this.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gdb and cywin
[not found] <19C3C5F17386D01190AE00A0245B5F9708950B2C@SEACEX01>
@ 2000-06-05 5:44 ` Tim Prince
2000-06-05 8:47 ` Chris Faylor
0 siblings, 1 reply; 11+ messages in thread
From: Tim Prince @ 2000-06-05 5:44 UTC (permalink / raw)
To: bug-gcc, Cecile.Cordier; +Cc: cygwin
This should go to the cygwin mail list, to which you may wish to subscribe. You will wish to check which version of cygwin you have
installed; recent versions have an excellent gdb.
----- Original Message -----
From: <Cecile.Cordier@electrabel.com>
To: <bug-gcc@gnu.org>
Sent: Monday, June 05, 2000 3:28 AM
Subject: gdb and cywin
> Hello,
>
> I don't know where I should report this. Sorry for the inconvenience if I
> should write somewhere else, I am afraid I got a bit lost between
> Cygnus/GNUPro/gdb, etc. Could you let me know if (where) I should redirect
> my request? Thank you very much in advance.
>
> I am using cygwin from cygnus solution to emulate unix on windows NT.
> I use gcc from cygwin to compile C programs in this environment and I would
> like to debug them using gdb. Unfortunatly I encounter problems doing so.
> Here are the messages I receive:
>
> 61000000:/cygnus/CYGWIN~1/H-I586~1/bin/cygwin1.dll
>
> [failed reading symbols from DLL]
> "/WINNT/system32/advapi32.dll": error reading line numbers
>
>
> [failed reading symbols from DLL]
> "/WINNT/system32/KERNEL32.dll": error reading line numbers
>
>
> 77e70000:/WINNT/system32/USERS.dll
> 77e70000:/WINNT/system32/GDI32.dll
> 77e70000:/WINNT/system32/RPCRT4.dll
> 77e70000:/WINNT/system32/rpcltc1.dll
>
>
> Does this sound familiar? Is there a quick fix?
> Thanks in advance for your help,
>
> Cecile Cordier
>
>
>
>
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-06-07 8:58 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-06 13:54 gdb and cywin Earnie Boyd
2000-06-06 15:23 ` Norman Vine
2000-06-07 7:22 ` Jason Tishler
2000-06-07 8:58 ` Norman Vine
-- strict thread matches above, loose matches on Subject: below --
2000-06-06 10:21 Earnie Boyd
2000-06-06 13:26 ` Norman Vine
2000-06-06 5:58 Earnie Boyd
2000-06-05 9:23 Scott A. Hill
[not found] <19C3C5F17386D01190AE00A0245B5F9708950B2C@SEACEX01>
2000-06-05 5:44 ` Tim Prince
2000-06-05 8:47 ` Chris Faylor
2000-06-05 16:15 ` Norman Vine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).