This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
stepping into a shared object
- From: "Ed Harcourt" <shmooga at hotmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 16 May 2002 15:22:06 -0400
- Subject: stepping into a shared object
- Bcc:
Are there any known issues while trying to step into a shared object using
gdb in mixed C/C++?
Here's the situation.
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?
Thanks in advance.
Ed
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com