Still problems with ELF files
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Mar 26 22:07:38 UTC 2002
Thomas Doerfler wrote:
>
> Hello Yan,
>
> some debuggers have problems, because the various
> RTEMS files are compiled from different base
> directories. So the path to the sources are not
> so easy to find for most debuggers. Do you see
> symbol information in SDS? The maybe you should
> teach SDS manually where the corresponding source
> files are located (I don't know SDS, so I can't
> tell you which commands to use there...)
I sometimes find myself doing this when debugging
user's applications when only handed an exe. I
forceable point gdb to find the source.
An alternative is to copy all the RTEMS source in
your build to a directory and point SDS to it.
> bye,
> Thomas.
>
> > Hello,
> >
> > I was told that output files compiled with the 'ppcn_60x' BSP are in ELF
> > format.
> >
> > Using SDS SingleStep, I tried to change the GCC option '-g' with '-gdwarf' ,
> > '-gdwarf+' , '-gdwarf-2' , '-gstabs' , '-gstabs+'
> > But I still don't have any source code in the SDS debugger (I tested SDS
> > with other not RTEMS ELF files and SDS works).
> >
> > Do you know if the output files normally ended with a EXE extension, are in
> > fact really in ELF format ?
> > Do you have any suggestions ?
> >
> > Thank you !
> > Yan
>
> --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler Herbststrasse 8
> D-82178 Puchheim Germany
> email: Thomas.Doerfler at imd-systems.de
> PGP public key available at: http://www.imd-
> systems.de/pgp_key.htm
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list