This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbol maintenance


>> This is a gdb 6.5 cross-compiled with cygwin on WinXP for ppc.
>>
>> (gdb) file gccext3.x
>> Reading symbols from /data/gdb-6.5/gdb/gccext3.x...unknown symbol type 0x1e...ex
>> panding to full symbols...unsupported const value attribute form: 'DW_FORM_strin
>> g'...const value length mismatch for 'ciOffline', got 8, expected 0...done.
>
>Those look more serious.  GDB is trying to read DWARF debugging
>information, and it's malformed.  What compiler are you using?  What
>does 'objdump -h gccext3.x' say?

The used compiler is gcc 4.0.2, cross compiled for ppc.
The files for gccext3 were compiled with -gdwarf-2 (no +, no O).

Output of objdump -h gccext3.x:
(Sections 0, 15-18 are selfmade, necessary for the embedded target)

gccext3.x:     file format elf32-big

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .vtable       00001444  00000000  00000000  00010000  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .text         00099ff0  00001444  00001444  00011444  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .rodata       0000b720  0009b438  0009b438  000ab438  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .eh_frame     00000970  000a6b58  000a6b58  000b6b58  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .ctors        000000d8  000a74c8  000a74c8  000b74c8  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  5 .dtors        00000018  000a75a0  000a75a0  000b75a0  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  6 .got2         000002b0  000a75b8  000a75b8  000b75b8  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  7 .fixup        00000448  000a7868  000a7868  000b7868  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  8 .gcc_except_table 000000c8  000a7cb0  000a7cb0  000b7cb0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .comment      00000ccf  000a7d78  000a7d78  000cbae4  2**0
                  CONTENTS, READONLY
 10 .data         0000112c  000a8a48  000a8a48  000b8a48  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 11 .sdata        000000b0  000a9b74  000a9b74  000b9b74  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 12 .sbss         00000358  000a9c24  000a9c24  000b9c24  2**2
                  ALLOC
 13 .sdata2       00000000  000a9f7c  000a9f7c  000b9f7c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 14 .bss          000028cc  000a9f80  000a9f80  000b9f7c  2**4
                  ALLOC
 15 .startup      0000f270  000ac84c  000ac84c  000bc84c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
 16 .struct_def   00000014  000bbabc  000bbabc  000cbabc  2**0
                  CONTENTS, ALLOC, LOAD, DATA
 17 .struct_nam   00000014  000bbad0  000bbad0  000cbad0  2**0
                  CONTENTS, ALLOC, LOAD, DATA
 18 .cache        00000000  000bc000  000bc000  000cc7b3  2**0
                  CONTENTS
 19 .debug_abbrev 0001748c  00000000  00000000  000cc7b3  2**0
                  CONTENTS, READONLY, DEBUGGING
 20 .debug_info   000d77c6  00000000  00000000  000e3c3f  2**0
                  CONTENTS, READONLY, DEBUGGING
 21 .debug_line   000189ba  00000000  00000000  001bb405  2**0
                  CONTENTS, READONLY, DEBUGGING
 22 .debug_frame  00014528  00000000  00000000  001d3dc0  2**2
                  CONTENTS, READONLY, DEBUGGING
 23 .debug_pubnames 00016f20  00000000  00000000  001e82e8  2**0
                  CONTENTS, READONLY, DEBUGGING
 24 .debug_aranges 000030d0  00000000  00000000  001ff208  2**0
                  CONTENTS, READONLY, DEBUGGING
 25 .debug_str    0000b420  00000000  00000000  002022d8  2**0
                  CONTENTS, READONLY, DEBUGGING
 26 .debug_loc    0001c2b9  00000000  00000000  0020d6f8  2**0
                  CONTENTS, READONLY, DEBUGGING
 27 .debug_ranges 00001890  00000000  00000000  002299b1  2**0
                  CONTENTS, READONLY, DEBUGGING
 28 .stab         00005004  00000000  00000000  0022b244  2**2
                  CONTENTS, READONLY, DEBUGGING
 29 .stabstr      00002466  00000000  00000000  00230248  2**0
                  CONTENTS, READONLY, DEBUGGING

Thanks

bye  Fabi



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