From: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: dlopen()
Date: Tue, 17 Jan 2006 06:12:00 -0000 [thread overview]
Message-ID: <43CC87E9.3030705@netspace.net.au> (raw)
In-Reply-To: <43CC73CE.2030709@netspace.net.au>
Russell Shaw wrote:
> Hi,
>
> I do:
>
> void *handle = dlopen("libfile1.so", RTLD_NOW);
> ...
> newfunc = dlsym(handle, "afunc");
> ...
> int res = (*newfunc)(app);
>
> How do i stop inside the "newfunc" function? I set a breakpoint
> there, but it doesn't activate.
>
> I'm using GNU gdb 6.3-debian on a pc.
> I compiled with CFLAGS="-g -O0".
For some reason, it is working now. I'm also using gdb-6.4 now.
prev parent reply other threads:[~2006-01-17 6:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-17 5:54 dlopen() Russell Shaw
2006-01-17 6:00 ` dlopen() Jim Blandy
2006-01-17 21:28 ` dlopen() Russell Shaw
2006-01-17 6:12 ` Russell Shaw [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=43CC87E9.3030705@netspace.net.au \
--to=rjshaw@netspace.net.au \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).