Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314126 - Debug Configurations->Debugger->Shared Libraries seems to be ignored
Summary: Debug Configurations->Debugger->Shared Libraries seems to be ignored
Status: REOPENED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-doc (show other bugs)
Version: 6.0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 11:16 EDT by Jerry Quinn CLA
Modified: 2020-09-04 15:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Quinn CLA 2010-05-24 11:16:56 EDT
Build Identifier: 20100218-1602

Centos5.4 x86_64, gdb 6.8-37.el5
CDT
Version: 6.0.2.201002161416
Build id: 201002161416

I'm adding the path to my shared libs under the
Debug Configurations->Debugger->Shared Libraries
tab.

However, the app starts up and can't find its libs.  If I set LD_LIBRARY_PATH
under Debug Configurations->Debugger->Environment, then it works.


Reproducible: Always
Comment 1 Elena Laskavaia CLA 2010-05-24 12:55:47 EDT
Debug paths are only for debugger to find symbols for shared libraries.
You still have to set LD_LIBRARY_PATH on unix or whatever on windows to launch it.
Comment 2 Jerry Quinn CLA 2010-05-24 16:18:38 EDT
(In reply to comment #1)
> Debug paths are only for debugger to find symbols for shared libraries.
> You still have to set LD_LIBRARY_PATH on unix or whatever on windows to launch
> it.

There is no documentation that this is the case.  Should I reopen this bug or create another?
Comment 3 Elena Laskavaia CLA 2010-05-24 17:41:16 EDT
Yes you can re-open this one for documentation
Comment 4 Jerry Quinn CLA 2010-05-25 10:37:06 EDT
Please document the meaning of Debug Configurations->Debugger->Shared Libraries
to indicate that this sets shared libs for gdb, not for the program being debugged.