[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Visibility into Shared Object files
From: |
Stu Rae |
Subject: |
Visibility into Shared Object files |
Date: |
Mon, 13 May 2002 13:28:45 -0400 |
I am unable to debug a shared object file using GDB on a Solaris machine
using
gcc-2.95.2 and the default Solaris 'ld' utility ( Solaris-ELF 4.0) as well
as GDB 5.0.
I have two shared object files; one is 'C', the other is 'C++' (with extern
'C')
I am able to see into the 'C' .so file, but I am not able to see into the
'C++' .so file.
I compile both with the '-g' debug option. I load both with the '-Wl,-G'
load options.
The 'C' code works. The 'C++' does not.
Can someone please give me some insight into this problem. I am will to try
most
anything to get this resolved, I just don't know enough to figure out what
to do next.
- Thanx Stu
- Visibility into Shared Object files,
Stu Rae <=