1
0
Fork 0
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:
Alain Magloire 2003-01-03 20:30:06 +00:00
parent 8d67037977
commit 01779d0976

View file

@ -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]);