gdb open source error (newbie alert)
Brian Perkins
briankperkins@yahoo.com
Mon Aug 28 13:50:00 GMT 2000
Hello,
I'm having a problem with GDB 5.0 (i686-pc-cygwin) opening source files.
I first tried it with mkisofs after successfully building all the source from
ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/cdrtools-1.10a03.tar.gz
I tried opening those source files before and after loading the EXE.
But now, I'd just like to see it open ANY source file! ;~)
Every time I try to open a source file, I get a stack trace listed below.
(Of course "help" is really no help at all!)
I've reinstalled cygwin AGAIN today and I've made sure there are no CR in the files.
Any other ideas???
Thx,
Brian
gdb stack trace
------------------------------------------------------------------------------------------------
D:/cygwin/usr/share/tcl8.0/tclAppInit.c:1: Error in sourced command file:
Undefined command: "". Try "help".
while executing
"gdb_cmd "source $file_name""
(procedure "source_file" line 4)
invoked from within
"source_file"
(menu invoke)errorCode is NONE
------------------------------------------------------------------------------------------------
cygcheck
------------------------------------------------------------------------------------------------
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Aug 28 15:40:35 2000
WinNT Ver 4.0 build 1381 Service Pack 6
Path: /usr/local/bin
/usr/bin
/usr/bin
/cygdrive/d/WINNT/system32
/cygdrive/d/WINNT
/cygdrive/d/MSSQL/BINN
/cygdrive/d/NTRESKIT
/cygdrive/d/NTRESKIT/Perl
/cygdrive/d/Program Files/Symantec/pcAnywhere
SysDir: D:\WINNT\System32
WinDir: D:\WINNT
HOME = `/home/$USER'
MAKE_MODE = `unix'
PWD = `/'
USER = `$USER'
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\/
(default) = `D:/cygwin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `D:/cygwin/bin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `D:/cygwin/lib'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Ftp\Accounts\sourceware.cygnus.com
(default) = `'
= `'
Login Attributes = 0x00000002
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
a: fd N/A N/A
c: hd FAT 1999Mb 93% CP UN
d: hd NTFS 2886Mb 97% CP CS UN PA FC
e: cd N/A N/A
f: fd NTFS 1020Mb 100% CP CS UN PA FC
g: cd N/A N/A
h: net FAT 1999Mb 93% CP UN
D:\cygwin\bin /usr/bin user binmode
D:\cygwin\lib /usr/lib user binmode
D:\cygwin / user binmode
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: d:\NTRESKIT\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: d:\NTRESKIT\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe
Found: \bin\sh.exe
83k 2000/06/11 D:\cygwin\bin\cygitcl30.dll
35k 2000/06/11 D:\cygwin\bin\cygitk30.dll
402k 2000/06/11 D:\cygwin\bin\cygtcl80.dll
5k 2000/06/11 D:\cygwin\bin\cygtclpip80.dll
10k 2000/06/11 D:\cygwin\bin\cygtclreg80.dll
639k 2000/06/11 D:\cygwin\bin\cygtk80.dll
586k 2000/08/04 D:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
dll major: 1001
dll minor: 4
dll epoch: 19
dll bad signal mask: 19005
dll old termios: 5
api major: 0
api minor: 26
shared data: 3
dll identifier: cygwin1
mount registry: 2
cygnus registry name: Cygnus Solutions
cygwin registry name: Cygwin
program options name: Program Options
cygwin mount registry name: mounts v2
build date: Thu Aug 3 20:53:46 EDT 2000
CVS tag: cygwin-1-1-4
shared id: cygwin1S3
Use -h to see help about each section
More information about the Cygwin
mailing list