From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11116 invoked by alias); 8 Dec 2005 18:48:35 -0000 Received: (qmail 11080 invoked by uid 22791); 8 Dec 2005 18:48:34 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Dec 2005 18:48:32 +0000 Received: by zproxy.gmail.com with SMTP id l1so714417nzf for ; Thu, 08 Dec 2005 10:48:31 -0800 (PST) Received: by 10.36.148.15 with SMTP id v15mr2842917nzd; Thu, 08 Dec 2005 10:48:31 -0800 (PST) Received: by 10.37.2.6 with HTTP; Thu, 8 Dec 2005 10:48:30 -0800 (PST) Message-ID: <8f2776cb0512081048j2b026b64jcb3c8bafd60010d6@mail.gmail.com> Date: Thu, 08 Dec 2005 18:48:00 -0000 From: Jim Blandy To: Efim Monyak Subject: Re: debug crt0.s Cc: gdb@sources.redhat.com In-Reply-To: <4397F168.9020009@lipowsky.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4395A907.8030303@lipowsky.de> <8f2776cb0512061638u58806fd0m3be002245fcd28ae@mail.gmail.com> <4396A6E5.1020303@lipowsky.de> <8f2776cb0512070929o6c121058nacb381513b32a394@mail.gmail.com> <43972217.5080309@lipowsky.de> <8f2776cb0512071057x6d18d6e6ne35c8c92a04c0949@mail.gmail.com> <4397F168.9020009@lipowsky.de> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00090.txt.bz2 On 12/8/05, Efim Monyak wrote: > Compilation Unit @ 6d: > Length: 92 > Version: 2 > Abbrev Offset: 20 > Pointer Size: 4 > <0><78>: Abbrev Number: 1 (DW_TAG_compile_unit) > DW_AT_stmt_list : 0x46 > DW_AT_name : ../src/crt0.s > DW_AT_comp_dir : /cygdrive/c/embedded/arm/workspace/functest/Debug > DW_AT_producer : GNU AS 2.16.1 > DW_AT_language : 32769 (MIPS assembler) > Compilation Unit @ cd: ... This is interesting. This is the debugging information for crt0.s.=20 It points to the right place in the .debug_line section, but it doesn't have DW_AT_low_pc and DW_AT_high_pc attributes like the other compilation units. What do you get when you run 'readelf -wil' on crt0.o itself? The addresses will be meaningless because they haven't been relocated, but we should be able to see the rest of the information.