From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dave Arnold" To: Cc: Subject: Re: Any Clues about this problem? Close but... Date: Fri, 07 Jul 2000 22:52:00 -0000 Message-id: <009301bfe8a1$e0070b80$65241004@homepc.freedsl.com> X-SW-Source: 2000-q3/msg00036.html -----Original Message----- From: Chris Faylor To: Dave Arnold Cc: insight@sourceware.cygnus.com Date: Friday, July 07, 2000 10:15 PM Subject: Re: Any Clues about this problem? >On Fri, Jul 07, 2000 at 10:17:54PM -0700, Dave Arnold wrote: >>Anyone have a clue why I can't list the source for the program I'm debuggin >>using insight? >> >>(gdb) list >>1 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/libccrt0.cc: No such >>file or directory. >> >>This path is strange, I don't think it exists anywhere under my cygwin root. > >The path is coming from the cygwin DLL. You don't want that. That is the location >of the 'libccrt0.cc' file on my machine from when I make a cygwin net release. > >Try 'list main'. > >Are you *sure* you're both compiling and linking with the '-g' option? When >I type just 'list' I get my 'main'. That is a good question because after taking a close look I discovered a big mistake on my part. I commented out the -g variable definition in the top of the makefile. CC = gcc # CFLAGS = -g load: load5.o btlib.o $(CC) $(CFLAGS) load5.o btlib.o -o load However I recompiled with -g for sure and still I got this output: (gdb) list 1 frame.c: No such file or directory. (gdb) list main Error: No line number known for main. (gdb) >cgf