Re: reading symbols

Daniel Jacobowitz
2005-03-17T20:02:47Z

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