From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25296 invoked by alias); 9 Nov 2004 00:15:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24718 invoked from network); 9 Nov 2004 00:15:14 -0000 Received: from unknown (HELO bluesmobile.specifixinc.com) (64.220.152.98) by sourceware.org with SMTP; 9 Nov 2004 00:15:14 -0000 Received: from [127.0.0.1] (bluesmobile.corp.specifixinc.com [192.168.1.2]) by bluesmobile.specifixinc.com (Postfix) with ESMTP id F0CF5167EF; Mon, 8 Nov 2004 16:15:13 -0800 (PST) Subject: Re: Mixing 32-bit and 64-bit DWARF2/3 sections From: James E Wilson To: Daniel Jacobowitz Cc: Mark Kettenis , echristo@redhat.com, seufer@csv.ica.uni-stuttgart.de, gdb@sources.redhat.com, gcc@gcc.gnu.org, binutils@sources.redhat.com In-Reply-To: <20041108234529.GA28651@nevyn.them.org> References: <200411071428.iA7ES7Fx003013@elgar.sibelius.xs4all.nl> <418FDD06.9030404@specifixinc.com> <20041108234529.GA28651@nevyn.them.org> Content-Type: text/plain Message-Id: <1099959313.7589.82.camel@aretha.corp.specifixinc.com> Mime-Version: 1.0 Date: Tue, 09 Nov 2004 00:29:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00072.txt.bz2 On Mon, 2004-11-08 at 15:45, Daniel Jacobowitz wrote: > Only Irix 5 and Irix 6 use the SGI DWARF format. mips64-linux has been > using the standard DWARF3 format for a long while. Ah, you are right. I was misreading the gcc sources I was looking at. So the mips64-linux port defaults to the standard DWARF3 64-bit dwarf debug info format, even though there seems to be no reason to use the 64-bit DWARF3 debug format here. If we aren't going to be compatible with SGI, then we may as well emit 32-bit DWARF3, and only emit 64-bit DWARF3 if we need it, which will be very unlikely. This is what all other targets do. The unnecessary use of the 64-bit debug info here is making debug info, and object files, larger than necessary. Since you are already using standard DWARF3 here, changing can perhaps be done without creating a visible ABI change. It is simpler to leave things the way they already are though, and ask mips64-openbsd to conform to the mips64-linux choices. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com