From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4408 invoked by alias); 17 Mar 2005 20:02:47 -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 4225 invoked from network); 17 Mar 2005 20:02:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 17 Mar 2005 20:02:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1DC1CO-0003ZT-Df for ; Thu, 17 Mar 2005 15:02:28 -0500 Date: Thu, 17 Mar 2005 20:02:00 -0000 From: Daniel Jacobowitz To: GDB Subject: Re: reading symbols Message-ID: <20050317200228.GA13700@nevyn.them.org> Mail-Followup-To: GDB References: <20050317195935.GA28845@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050317195935.GA28845@white> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00173.txt.bz2 On Thu, Mar 17, 2005 at 02:59:35PM -0500, Bob Rossi wrote: > Hi, > > I had a quick question. I'm running GNAT GDB 3.15p on windows. I have 2 > programs that link to the same dll. GDB is able to debug the dll with > program A, but with program B, when I run GDB, it crashes loading the > symbols for program B with this error, > BFD: BFD internal error, aborting at coffcode.h line 749 in > styp_to_sec_flags > > I don't want to debug program B, since it is C++, I just want to debug > the DLL which is written in ADA. Is there any way I can tell GDB to not > worry about reading in symbols for anything besides the DLL, so that I > can debug again? No, you can't load a DLL without loading the executable. > Here's what a session looks like, > > gdb dellell.dll > b file.c:1 > exec-file programB > r arguments > > BFD: BFD internal error, aborting at coffcode.h line 749 in > styp_to_sec_flags If you submit a binutils bug report, maybe it can be fixed... -- Daniel Jacobowitz CodeSourcery, LLC