Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Loading debug symbols for external shared libraries?
Loading debug symbols for external shared libraries? [message #171301] Tue, 13 June 2006 06:43 Go to next message
Eclipse UserFriend
Originally posted by: odeda.geek.co.il

Hi,

I'm trying to debug into a shared library which is external to CDT (i.e. -
not developed using the CDT. Specifically its installed in the system
using RPM). The library so file (which I link against) has no debugging
symbols, but I have the "debug info" file - the so with all debugging
symbols. I also have the source files for this library installed somewhere.

Problem is - CDT (using the gdb debugger) doesn't let me debug into the
library. I've added the so debug info file into the "shared libraries"
list in the "debugger" tab on the debug configuration dialog, but it
doesn't seem to do anything. I've also tried to right click the library in
question in the "modules" view while debugging, and under properties tried
to change the "symbols file" to the debug info file, but when I click "OK"
I get an error: "Target request failed: not supported".

Is there a way that I can "force" CDT to load the debug symbols from the
external file ?

I'm using Eclipse 3.2 M6 with a CDT nightly from about two weeks ago.

--
Oded
Re: Loading debug symbols for external shared libraries? [message #171326 is a reply to message #171301] Tue, 13 June 2006 11:29 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

As you can see it from the error message, this feature currently is not
supported. But you can use the gdb console if there is a way to do it in
gdb.

"Oded Arbel" <odeda@geek.co.il> wrote in message
news:pan.2006.06.13.10.43.07.994399@geek.co.il...
>
> Hi,
>
> I'm trying to debug into a shared library which is external to CDT (i.e. -
> not developed using the CDT. Specifically its installed in the system
> using RPM). The library so file (which I link against) has no debugging
> symbols, but I have the "debug info" file - the so with all debugging
> symbols. I also have the source files for this library installed
> somewhere.
>
> Problem is - CDT (using the gdb debugger) doesn't let me debug into the
> library. I've added the so debug info file into the "shared libraries"
> list in the "debugger" tab on the debug configuration dialog, but it
> doesn't seem to do anything. I've also tried to right click the library in
> question in the "modules" view while debugging, and under properties tried
> to change the "symbols file" to the debug info file, but when I click "OK"
> I get an error: "Target request failed: not supported".
>
> Is there a way that I can "force" CDT to load the debug symbols from the
> external file ?
>
> I'm using Eclipse 3.2 M6 with a CDT nightly from about two weeks ago.
>
> --
> Oded
>
>
Previous Topic:Bad defaults for parsers and building
Next Topic:Where is the CDT error log located
Goto Forum:
  


Current Time: Sat Jul 19 14:29:10 EDT 2025

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top