stepping into a shared object

Ed Harcourt shmooga@hotmail.com
Thu May 16 12:22:00 GMT 2002


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



More information about the Gdb mailing list