public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Strange symbol table mixup
@ 2007-12-07 14:00 Lonnell Ahiyya
  0 siblings, 0 replies; only message in thread
From: Lonnell Ahiyya @ 2007-12-07 14:00 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-07 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-07 14:00 Strange symbol table mixup Lonnell Ahiyya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).