This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

stepping into a shared object


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]