[ECOS] MIPS TX-39 and Debug Information ---

Rosimildo daSilva rosimildo@hotmail.com
Fri Apr 7 08:28:00 GMT 2000


>From: Jonathan Larmour <jlarmour@redhat.co.uk>
>To: Rosimildo daSilva <rosimildo@hotmail.com>
>CC: ecos-discuss@sourceware.cygnus.com
>Subject: Re: [ECOS] MIPS TX-39 and Debug Information ---
>Date: Fri, 07 Apr 2000 04:53:20 +0100
>
>Rosimildo daSilva wrote:
> >
> > Hi,
> >
> > I am trying to check the TX-39 toolset. I have built everything.
> > Compiled eCOS 1.3.1 and built the "hello" example. Now I am
> > trying to debug it, and GDB reports that there is no debug info.
> >
> > Using objdump, I see no .mdebug section, or something like that.
> > I can see by the size of hello.exe that there is no debug info
> > in it.
>[snip]
>
>The tx39 tools output dwarf-2 debugging information by default, not stabs
>(which would be when the mdebug section is used). There should be no
>.mdebug section - in fact we explicitly remove it for the tx39 because we
>found sometimes GDB got confused when both stabs and dwarf-2 debug
>information was in the same executable.
>

Jonathan,

How do I know which debugging information it is being used ?.
I'd like to check if dwarf-2 it is being used.

Is it possible to select it at compilation/configutation time of the
toolset ?

Thanks, Rosimildo.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



More information about the Ecos-discuss mailing list