This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Strange symbol table mixup


Hello,

I'm running into a problem and I'm not sure if it's an issue with the
compiler or the dynamic loader. The problem is I have a shared object
(written in C++) which I am dynamically loading. I instantiate a pointer to
the class defined in the shared object. I then attempt to call a method of
this class, but the method that gets called is a different method in the
class. I've stepped through the code in the debugger and sure enough when I
call the method execution jumps to an entirely different method. I've tried
two different debuggers (gdb and TotalView) with the same result. I'm using
gcc v3.4.6.

Just wondering if anyone has encountered this issue before and might be able
to lend some insight. Thanks.

Lonnell Ahiyya 
-- 
View this message in context: http://www.nabble.com/Strange-symbol-table-mixup-tf4962172.html#a14212790
Sent from the gcc - Help mailing list archive at Nabble.com.


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