* reading symbols
@ 2005-03-17 19:59 Bob Rossi
2005-03-17 20:02 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Bob Rossi @ 2005-03-17 19:59 UTC (permalink / raw)
To: GDB
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?
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
Thanks,
Bob Rossi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: reading symbols
2005-03-17 19:59 reading symbols Bob Rossi
@ 2005-03-17 20:02 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2005-03-17 20:02 UTC (permalink / raw)
To: GDB
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-17 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 19:59 reading symbols Bob Rossi
2005-03-17 20:02 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox