This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Any Clues about this problem? Close but...
- To: <insight at sourceware dot cygnus dot com>
- Subject: Re: Any Clues about this problem? Close but...
- From: "Dave Arnold" <avr_fan at nettaxi dot com>
- Date: Fri, 7 Jul 2000 23:00:30 -0700
- Cc: <insight at sourceware dot cygnus dot com>
- Reply-To: "Dave Arnold" <avr_fan at mailandnews dot com>
-----Original Message-----
From: Chris Faylor <cgf@cygnus.com>
To: Dave Arnold <avr_fan@mailandnews.com>
Cc: insight@sourceware.cygnus.com <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