Strange symbol table mixup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux