This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: reading symbols
- From: Daniel Jacobowitz <drow at false dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Thu, 17 Mar 2005 15:02:28 -0500
- Subject: Re: reading symbols
- References: <20050317195935.GA28845@white>
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