This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: MIPS TX-39 and Debug Information ---
- To: jlarmour at redhat dot co dot uk, rosimildo at hotmail dot com
- Subject: Re: [ECOS] MIPS TX-39 and Debug Information ---
- From: "Rosimildo daSilva" <rosimildo at hotmail dot com>
- Date: Fri, 07 Apr 2000 10:27:54 CDT
- Cc: ecos-discuss at sourceware dot cygnus dot com
>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