public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Trace32 running eCos
@ 1999-06-09  1:05 Lars Malmborg
  1999-06-09 11:14 ` Jonathan Larmour
  1999-06-10 14:05 ` Bob Cousins
  0 siblings, 2 replies; 3+ messages in thread
From: Lars Malmborg @ 1999-06-09  1:05 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

Hi!

I'm trying to make eCos run in the demo version of the Trace32 debugger,
as found on Lauterbach's home page
( http://www.lauterbach.de/simarm.exe )...
When I load a generated ELF it says:
  loading ELF/DWARF
  WARNING: possible compiler bug near offset 76255. in file
C:\eCosTools\MyTest\hello.elf (use DUMP)
  WARNING: possible compiler bug near offset 77253. in file
C:\eCosTools\MyTest\hello.elf (use DUMP)
  error: entry near offset 77392. in file C:\eCosTools\MyTest\hello.elf
(use DUMP)

The actual code seems to be loaded OK, but there are no symbols at all.
The mentioned offsets in the file are somewhere in the middle of the
DWARF2 segment.
After contact with Lauterbach, they claim that GCC generates broken
debug information, and this whas not the first time they've seen this. A
direct quote from the response is
"The file "hello" has a wrong abbreviation table (wrong DWARF2 debug
info)."

Now, how do I fix this? Is it perhaps already fixed by someone, or is it
beeing fixed? If not, where can I find enough information on DWARF2 so
that I can spot the errors? Also, what files in GCC contains potential
causes of the error (some are quite obvious, as their names contains
"dwarf", but any others)?

-- 
  Lars Malmborg
  Software Design

    Precise Biometrics AB         Phone: +46-46-286 57 61
    Scheelevägen 15               Fax: +46-46-286 57 62
    SE-223 70 Lund
    Sweden

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Trace32 running eCos
  1999-06-09  1:05 [ECOS] Trace32 running eCos Lars Malmborg
@ 1999-06-09 11:14 ` Jonathan Larmour
  1999-06-10 14:05 ` Bob Cousins
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 1999-06-09 11:14 UTC (permalink / raw)
  To: lars.malmborg; +Cc: ecos-discuss

In article < 375E2011.F29E60C2@precisebiometrics.com > you write:
>When I load a generated ELF it says:
>  loading ELF/DWARF
>  WARNING: possible compiler bug near offset 76255. in file
>C:\eCosTools\MyTest\hello.elf (use DUMP)
>[snip]
>Now, how do I fix this? Is it perhaps already fixed by someone, or is it
>beeing fixed? If not, where can I find enough information on DWARF2 so
>that I can spot the errors? Also, what files in GCC contains potential
>causes of the error (some are quite obvious, as their names contains
>"dwarf", but any others)?

If this is the case, you may want to ask on egcs@egcs.cygnus.com where
there should be a few more ARM toolchains experts to help :-).

Something else to try is to look at the output of arm-elf-readelf on the
executable to see if it reveals any more information.

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
 my brains kept falling out."    || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Trace32 running eCos
  1999-06-09  1:05 [ECOS] Trace32 running eCos Lars Malmborg
  1999-06-09 11:14 ` Jonathan Larmour
@ 1999-06-10 14:05 ` Bob Cousins
  1 sibling, 0 replies; 3+ messages in thread
From: Bob Cousins @ 1999-06-10 14:05 UTC (permalink / raw)
  To: ecos-discuss

Hi Lars Malmborg,

>I'm trying to make eCos run in the demo version of the Trace32 debugger,
>as found on Lauterbach's home page
>( http://www.lauterbach.de/simarm.exe )...
>When I load a generated ELF it says:
>  loading ELF/DWARF
>  WARNING: possible compiler bug near offset 76255. in file

I have no solution, but I encountered the same problem using the ARM SDT
toolchain. I have not tried yet but I am told removing -dwarf from the build
will allow it to load.

Maybe Lauterbach have a slightly different interpretation of DWARF to ARM/gcc?
-- 
Bob Cousins, Software Engineer.
http://www.lintilla.demon.co.uk/
"We demand that we may, or may not, be philosophers!"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-06-10 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-09  1:05 [ECOS] Trace32 running eCos Lars Malmborg
1999-06-09 11:14 ` Jonathan Larmour
1999-06-10 14:05 ` Bob Cousins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).