This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Strange symbol table mixup
- From: Lonnell Ahiyya <ahiyyam at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 7 Dec 2007 06:00:29 -0800 (PST)
- Subject: 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.