From: Kevin Buettner <kevinb@redhat.com>
To: "Ed Harcourt" <shmooga@hotmail.com>, gdb@sources.redhat.com
Subject: Re: stepping into a shared object
Date: Thu, 16 May 2002 15:48:00 -0000 [thread overview]
Message-ID: <1020516224752.ZM19909@localhost.localdomain> (raw)
In-Reply-To: "Ed Harcourt" <shmooga@hotmail.com> "stepping into a shared object" (May 16, 3:22pm)
On May 16, 3:22pm, Ed Harcourt wrote:
> I have a main.c compiled using the Solaris C compiler (not C++). Version is
> Sun WorkShop 6 update 1 C 5.2 2000/09/11.
>
> I have C++ objects built using g++ 2.95.2. Everything built with -g. An
> entry function f is extern "C".
>
> I linked the C++ objects and created a mylib.so using the Solaris linker ld.
>
> main does a dlopen to get at the mylib.so. I can't step into f from main.
>
> Sound familiar? Or should this work?
It should work.
Here are some things to try:
1) After the library is dlopen'd, are you able to place a breakpoint
in the shared library and continue to the breakpoint?
2) Are you able to step into other types of shared libraries (i.e,
ones that aren't dlopen'd?
(This won't directly solve your problem, but knowing the answers might
help us to figure out what's going wrong.)
Kevin
next prev parent reply other threads:[~2002-05-16 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 12:22 Ed Harcourt
2002-05-16 15:48 ` Kevin Buettner [this message]
2002-05-17 5:58 Ed Harcourt
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=1020516224752.ZM19909@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=shmooga@hotmail.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