From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10168 invoked by alias); 6 Apr 2006 19:32:00 -0000 Received: (qmail 10160 invoked by uid 22791); 6 Apr 2006 19:31:59 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 06 Apr 2006 19:31:58 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FRaCx-0000Pz-SW; Thu, 06 Apr 2006 15:31:55 -0400 Date: Thu, 06 Apr 2006 23:55:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii , gdb@sources.redhat.com Subject: Re: text file formats Message-ID: <20060406193155.GA1581@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , gdb@sources.redhat.com References: <20060405223122.GB11610@brasko.net> <20060405233938.GA11013@nevyn.them.org> <20060406001455.GC11610@brasko.net> <20060406011732.GA12814@nevyn.them.org> <20060406032702.GE11610@brasko.net> <20060406133829.GI11610@brasko.net> <20060406140542.GA26169@nevyn.them.org> <20060406190742.GA2769@brasko.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060406190742.GA2769@brasko.net> User-Agent: Mutt/1.5.8i 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: 2006-04/txt/msg00081.txt.bz2 On Thu, Apr 06, 2006 at 03:07:42PM -0400, Bob Rossi wrote: > This is exactly my reasoning. Usually I agree 100% with Daniel, but in > this circumstance, I just think it's wrong to say "sorry, your out of > luck" to the user. Native formats are the only sort we can support reliably. We get line numbers from the debug information, which was produced by a compiler - any compiler. If the file is in native format, the compiler can be presumed to have gotten the line numbers right. If it isn't, then they could be totally out of whack. And the compiler could have been run on a different platform. Supporting all of the possible combinations is simply impossible. -- Daniel Jacobowitz CodeSourcery