From: Kris Warkentin <kewarken@qnx.com>
To: Roland Zerek <rolandz@poczta.fm>
Cc: gdb@sources.redhat.com
Subject: Re: Breakpoints in the library code
Date: Wed, 30 Jun 2004 13:28:00 -0000 [thread overview]
Message-ID: <40E2B0FD.6050907@qnx.com> (raw)
In-Reply-To: <40E29098.4040207@poczta.fm>
Once the dll is loaded (ie. you've run to main() or dlopen()ed), you can
just set a breakpoint as you normally would. If gdb can find the shared
library, it will read the symbols when it detects that it has been
loaded. (if auto-solib-add is set) Newer versions of gdb also have the
concept of a deferred breakpoint where gdb will ask if you want to make
a breakpoint pending on a future library load.
cheers,
Kris
Roland Zerek wrote:
> Hi,
>
> I'm developing wxWidgets based applications on MinGW (gcc-3.4.0). And I
> would like to set a breakpoint inside some method that is implemented in
> the library (DLL). How do I do this?
>
> I am trying to use command line gdb currently since I see that a
> frontend (MinGW Developer Studio) does not handle everything correctly
> what makes debugging difficult or impossible.
>
> TIA
>
next prev parent reply other threads:[~2004-06-30 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 10:44 Roland Zerek
2004-06-30 13:28 ` Kris Warkentin [this message]
[not found] ` <40E2B3B6.6070802@poczta.fm>
2004-06-30 14:54 ` Kris Warkentin
[not found] ` <40E2C6CE.4070703@poczta.fm>
2004-06-30 16:04 ` Kris Warkentin
[not found] ` <40E2E20A.7070000@poczta.fm>
2004-06-30 17:56 ` Kris Warkentin
2004-06-30 18:53 ` Roland Zerek
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=40E2B0FD.6050907@qnx.com \
--to=kewarken@qnx.com \
--cc=gdb@sources.redhat.com \
--cc=rolandz@poczta.fm \
/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