Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Russell Shaw <rjshaw@netspace.net.au>
To: gdb@sources.redhat.com
Subject: dlopen()
Date: Tue, 17 Jan 2006 05:54:00 -0000	[thread overview]
Message-ID: <43CC73CE.2030709@netspace.net.au> (raw)

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".


             reply	other threads:[~2006-01-17  4:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17  5:54 Russell Shaw [this message]
2006-01-17  6:00 ` dlopen() Jim Blandy
2006-01-17 21:28   ` dlopen() Russell Shaw
2006-01-17  6:12 ` dlopen() Russell Shaw

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=43CC73CE.2030709@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