From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5126 invoked by alias); 13 Nov 2003 20:08:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5100 invoked from network); 13 Nov 2003 20:08:31 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 13 Nov 2003 20:08:31 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id A09421A42DB; Thu, 13 Nov 2003 15:08:30 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16307.58558.574996.993412@localhost.redhat.com> Date: Thu, 13 Nov 2003 20:08:00 -0000 To: mec.gnu@mindspring.com (Michael Elizabeth Chastain) Cc: ezannoni@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] new test for separate debug info In-Reply-To: <20031113175555.9EE3F4B3FA@berman.michael-chastain.com> References: <20031113175555.9EE3F4B3FA@berman.michael-chastain.com> X-SW-Source: 2003-11/txt/msg00275.txt.bz2 Michael Elizabeth Chastain writes: > It looks like either binutils or gdb needs some work. % objdump -g sepdebug.debug sepdebug.debug: file format elf32-i386 sepdebug.debug: .stab: stab entry 0 is corrupt, strx = 0x464c457f, type = 1 sepdebug.debug: .stab: stab entry 2 is corrupt, strx = 0x8048354, type = 52 sepdebug.debug: .stab: stab entry 4 is corrupt, strx = 0x30006, type = 128 debug_name_type: no current file Last stabs entries before error: n_type n_desc n_value string 2 3 00000001 NOMAP 32 00280000 LSYM 0 00000000 char:t(0,2)=r(0,2);0;127; seems like binutils has some problems too. Gdb errors out if the test section is missing, I thought of changing this into a warning, but then ran into this. > > If you could kludge the test to handle "Can't find any code sections > in symbol file" then I would be happy with the test script as a test > script. > I'll definitely do this, then, and add a comment. elena