mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
Always call setAutoSolib()
This commit is contained in:
parent
8d67037977
commit
01779d0976
1 changed files with 3 additions and 5 deletions
|
@ -20,13 +20,11 @@ import org.eclipse.debug.core.ILaunchConfiguration;
|
|||
|
||||
public class GDBDebugger implements ICDebugger {
|
||||
|
||||
void initializeLibraries(ILaunchConfiguration config, CSession session) throws CDIException {
|
||||
protected void initializeLibraries(ILaunchConfiguration config, CSession session) throws CDIException {
|
||||
try {
|
||||
SourceManager mgr = (SourceManager)session.getSourceManager();
|
||||
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, false);
|
||||
if (autolib) {
|
||||
mgr.setAutoSolib();
|
||||
}
|
||||
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, true);
|
||||
mgr.setAutoSolib(autolib);
|
||||
List p = config.getAttribute(IMILaunchConfigurationConstants.ATTR_SOLIB_PATH, new ArrayList(1));
|
||||
if (p.size() > 0) {
|
||||
String[] paths = (String[])p.toArray(new String[0]);
|
||||
|
|
Loading…
Add table
Reference in a new issue