Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314126

Summary: Debug Configurations->Debugger->Shared Libraries seems to be ignored
Product: [Tools] CDT Reporter: Jerry Quinn <jlquinn>
Component: cdt-docAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: REOPENED --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: elaskavaia.cdt, pawel.1.piech
Version: 6.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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.