This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Source tags?
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: "Chuck McManis" <ecos at mcmanis dot com>
- Cc: "ECOS Discussion Group" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 2 Apr 2004 22:46:01 -0700 (MST)
- Subject: Re: [ECOS] Source tags?
- References: <6.0.0.22.2.20040402201516.026ce930@66.125.189.29>
Chuck McManis said:
> A couple of interesting (to me anyway) questions:
> 1) How can I have the ECOS library compiled -g so that debugging
> lets me see module names and source in the library? Is this
> just a source path issue or something more?
>
> 2) GDB can load ELF images directly (no need to convert to SREC)
> but it doesn't seem to pick up the symbols for some reason.
> Why not?
Sorry, but there must be something wrong with your FreeBSD setup - this
all works fine on Linux (and even CygWin)
Did you build both using the same level of BINUTILS?
Can you see if your ELF files have any symbols or debug info (use objdump)?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss