This is the mail archive of the cygwin@sources.redhat.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 open source error (newbie alert)


> -----Original Message-----
> From: Brian Perkins [mailto:briankperkins@yahoo.com]
> Sent: Monday, August 28, 2000 10:50 PM
> To: cygwin@sourceware.cygnus.com
> Subject: gdb open source error (newbie alert)
> 
> 
> 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.10a0
> 3.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
> --------------------------------------------------------------
> ----------------------------------
> 

Just a word, but I'm not sure this has something to do with your problem:

"source" is NOT opening a source file, but *executing* it as a set of GDB
commands...

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

--
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]