From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20881 invoked by alias); 23 Mar 2004 23:47:02 -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 20861 invoked from network); 23 Mar 2004 23:47:00 -0000 Received: from unknown (HELO esds.vss.fsi.com) (66.136.174.212) by sources.redhat.com with SMTP; 23 Mar 2004 23:47:00 -0000 Received: from thing1.vss.fsi.com (thing1.vss.fsi.com [198.51.27.21]) by esds.vss.fsi.com (8.11.6+Sun/8.9.1) with ESMTP id i2NNksM04173 for ; Tue, 23 Mar 2004 17:46:54 -0600 (CST) Received: from localhost (ford@localhost) by thing1.vss.fsi.com (8.11.6+Sun/8.11.6) with ESMTP id i2NNkr215706 for ; Tue, 23 Mar 2004 17:46:53 -0600 (CST) X-Authentication-Warning: thing1-200.fsi.com: ford owned process doing -bs Date: Wed, 24 Mar 2004 09:25:00 -0000 From: Brian Ford X-X-Sender: ford@thing1-200 To: gdb@sources.redhat.com Subject: Re: Are mixed debug formats in one exe supported? In-Reply-To: Message-ID: References: <20040323204831.GA30982@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03/txt/msg00223.txt.bz2 On Tue, 23 Mar 2004, 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. > Ugh..., found it. /* If we are reinitializing, or if we have never loaded syms yet, set table to empty. MAINLINE is cleared so that *_read_psymtab functions do not all also re-initialize the psymbol table. */ if (mainline) { init_psymbol_list (objfile, 0); mainline = 0; } Sorry for the noise. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444