This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Questions about stabs in MIPS executable
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Tim Michals <Tim dot Michals at Cygnetinc dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 29 Nov 2001 14:29:30 +0000
- Subject: Re: [ECOS] Questions about stabs in MIPS executable
- References: <63A6C537769693488EF351F5DB9466863D8662@cyglew04.cygnetinc.com>
Tim Michals wrote:
>
> I'm using a third party debugger (JTAG eumulator). Yes, I can load the
> image using GDB.
Not just load it, but list the source, right? I wouldn't have thought so
because I can't see any debugging sections (.mdebug is naff and not
sufficient).
> I'm using the standard ecos .lnk file. Also here is some more info:
.lnk? you mean .ld? But as I said, that .ld file may not mention the stab
sections!
Look at whether it mentions the .stab and .stabstr etc. sections.
Jifl
I wrote:
>
> 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.
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine