From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20965 invoked by alias); 23 Mar 2004 23:47:03 -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 20868 invoked from network); 23 Mar 2004 23:47:01 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Mar 2004 23:47:01 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B5vbl-0006UX-Ll; Tue, 23 Mar 2004 18:46:57 -0500 Date: Wed, 24 Mar 2004 10:29:00 -0000 From: Daniel Jacobowitz To: Brian Ford Cc: gdb@sources.redhat.com Subject: Re: Are mixed debug formats in one exe supported? Message-ID: <20040323234657.GA24923@nevyn.them.org> Mail-Followup-To: Brian Ford , gdb@sources.redhat.com References: <20040323204831.GA30982@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00224.txt.bz2 On Tue, Mar 23, 2004 at 05:44:10PM -0600, Brian Ford wrote: > On Tue, 23 Mar 2004, Brian Ford wrote: > > I almost see why. Can someone please tell me why this comment above > > elfstab_build_psymtabs is true for the DWARF part? > > > > This ELF file has already been processed to get its minimal symbols, > > and any DWARF symbols that were in it. > > > > ie. What gaurantees that DWARF is processed before stabs? I can't see > > that yet. If I can understand that, I think I can easily fix my problem. > > > > Thanks again. > > > Sorry to follow up my own post, but I'm now even more confused. > > >From what I can see, the order (for elf) is gauranteed to be ECOFF, stabs, > DWARF2, DWARF, DWARF2 frame info. So, that comment just looks wrong. And, I > still don't understand why it works on Linux. The order shouldn't even matter at all. Neither the stabs nor dwarf code will add the ELF minimal symbols, and then stabs will add some and dwarf the others. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer