This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Dwarf specs? Help required with unknown dwarf1 attribute


We are using arm-elf-gcc to compile/link code with eCos using '-gdwarf'
targetted at the ARM7TDMI. We are having trouble using a utility that converts
the image to another download format with side files for debugging information.
According to the analysis there is an uknown attribute in the dwarf data:

[quote]
The dwarf file seems to contain an unknown attribute (0x00cf)
which is not a standard attribute for dwarf.
The location of this unknown attribute is 0x8682th 2 byte
from the beginning of the file. Below is the dump of the
dwarf file near the unknown attribute.
(For your information, the .debug section start from 0x85dc.)

   :                :              :           :                    :
   :                :              :           :                    :
00008650 : 65 43 6f 73 2f 65 78 61 6d 70 6c 65 73 00 a6 00    eCos/examples...
00008660 : 00 00 06 00 12 00 f2 01 00 00 38 00 74 65 73 74    ..........8.test
00008670 : 31 64 75 6d 32 00 11 01 44 45 00 00 21 01 34 46    1dum2...DE..!.4F
00008680 : 00 00 cf 00 00 00 05 00 12 00 cf 00 00 00 38 00    ..............8.
                 ^^^^^
[endquote]

Can anyone help with the interpretation of this attribute?

More generally, where can I find definitions of the dwarf and dwarf2 formats
that can be generated with arm-elf-gcc, to help with work on our conversion
utility?

Many thanks

Mick
-- 
* Mick Patrick, Cadence Design Systems, VCC PV, 1 Alba Campus, Livingston, 
*       EH54 7HH, Scotland. Tel +44 1506 596125  Fax +44 1506 595959

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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