Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb@sources.redhat.com
Cc: Andrew Cagney <ac131313@redhat.com>
Subject: Re: gdb and Dll
Date: Wed, 27 Nov 2002 19:08:00 -0000	[thread overview]
Message-ID: <20021128030836.GC28113@redhat.com> (raw)
In-Reply-To: <20021128011154.GE21457@redhat.com>

On Wed, Nov 27, 2002 at 08:11:54PM -0500, Christopher Faylor wrote:
>On Wed, Nov 27, 2002 at 07:57:16PM -0500, Andrew Cagney wrote:
>>
>>>There is one long-standing "gotcha" in debugging dlls however.  Currently
>>>you can only set breakpoints on line numbers not on symbol names if the
>>>dll is not loaded.  That is you can't do:
>>>
>>>  dll-symbols foo.dll
>>>  bp foo
>>>
>>>You have to, instead do:
>>>
>>>  dll-symbols foo.dll
>>>  list foo
>>>  bp <first line of foo>
>>
>>Weird.  Create a bug report.
>
>There already is one, I believe, complete with patch, which I'm testing
>now.  I'd give you a URL but my browser is sick right now.  I just did a
>search for a topic with dll in it in gnats and found it.  This was after
>Joel B.  suggested that a number of PRs had been filed for dll handling.

The GNATS id is 780 and the patch enclosed therein seems to work ok.

cgf


  reply	other threads:[~2002-11-28  3:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27  1:13 Heiko Gerdau
2002-11-27  8:11 ` Joel Brobecker
2002-11-27 16:52 ` Christopher Faylor
2002-11-27 16:57   ` Andrew Cagney
2002-11-27 17:11     ` Christopher Faylor
2002-11-27 19:08       ` Christopher Faylor [this message]
2002-11-28  4:40         ` Heiko Gerdau
2002-11-28 18:15           ` Christopher Faylor
2002-11-29  4:27             ` Heiko Gerdau
2002-11-28 14:31       ` Andrew Cagney

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=20021128030836.GC28113@redhat.com \
    --to=cgf@redhat.com \
    --cc=ac131313@redhat.com \
    --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