This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions about stabs in MIPS executable


Tim Michals wrote:
> 
> Notice how a couple of sections are missing (.stabs and .stabstr) So is this
> the issue?  Also another clue is if mips-elf-obj -g <file> is used on the
> file created by the working gcc it dumps debug information.
> 
> Also if the same command on the eCOS compiler mips-elf-obj -g <file>  it
> indicates that there is no debug info?  Any clues?

If you just load it up in GDB (even though not downloading) does that work?
Can you list functions and source files? By the looks of it, that shouldn't
work, but I want to check :).

It's possible that the eCos linker script you are using (you don't say
what) doesn't mention the stabs sections, perhaps because it is normally
expecting dwarf debug. Check that out.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]