From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16545 invoked by alias); 28 Nov 2006 11:39:24 -0000 Received: (qmail 16517 invoked by uid 22791); 28 Nov 2006 11:39:23 -0000 X-Spam-Check-By: sourceware.org Received: from mxout.hispeed.ch (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Nov 2006 11:39:18 +0000 Received: from indel.ch (84-73-11-232.dclient.hispeed.ch [84.73.11.232]) by smtp.hispeed.ch (8.12.11.20060308/8.12.6/taifun-1.0) with SMTP id kASBdDKF022333 for ; Tue, 28 Nov 2006 12:39:13 +0100 Received: from FABI.indel.ch [192.168.1.91] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Tue, 28 Nov 2006 12:38:57 +0100 Message-Id: <5.2.0.9.1.20061128123045.0176cec0@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 28 Nov 2006 11:39:00 -0000 To: gdb@sourceware.org From: Fabian Cenedese Subject: Re: symbol maintenance In-Reply-To: References: <5.2.0.9.1.20061124142829.017493c0@NT_SERVER> <5.2.0.9.1.20061124142829.017493c0@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sourceware.org X-Return-Path: cenedese@indel.ch X-Virus-Status: Clean X-DCC-spamcheck-01.tornado.cablecom.ch-Metrics: smtp-06.tornado.cablecom.ch 1377; Body=1 Fuz1=1 Fuz2=1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00194.txt.bz2 >> 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