This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hav anyone used the elf format for embedded sparc processors? It seems that gdb cannot properly read the debug (stabs) info from sparc-elf files produced by gas. I have tried most versions of both gdb and gas, but the problem persists. Dumping the the stabs information from my binary files with objdump displays the correct debugging information - the problem seems to be in gdb. When gdb read the symbol information, it get the wrong line numbers for functions etc. Sometime it fails reading the symbol table at all. Doing "info functions" in gdb display all functions as "non-debugging" symbols. Any hints? I gave tried gas-2.7.1, gas-2.8.1, gdb-4.16.1, gdb980122. I configure with --target=sparc-elf. Using aout instead of elf, everything work fine. Jiri. -- ----------------------------------------------------------------------------- Jiri Gaisler, European Space Research and Technology Centre (ESA/ESTEC) mailto: jgais@ws.estec.esa.nl tel. +46-31-7721669 fax: +46-31-7723663 Need a processor for space? See http://www.estec.esa.nl/wsmwww/erc32 -----------------------------------------------------------------------------