Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: GDB <gdb@sources.redhat.com>
Subject: Re: reading symbols
Date: Thu, 17 Mar 2005 20:02:00 -0000	[thread overview]
Message-ID: <20050317200228.GA13700@nevyn.them.org> (raw)
In-Reply-To: <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


      reply	other threads:[~2005-03-17 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17 19:59 Bob Rossi
2005-03-17 20:02 ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050317200228.GA13700@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox