Loading debug symbols for external shared libraries? [message #171301] |
Tue, 13 June 2006 06:43  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02777 seconds