mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
The 'setAutoSolib' method is no longer in ICDISharedLibraryManager.
This commit is contained in:
parent
c6f9559478
commit
0bcd49770d
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-02-12 Mikhail Khodjaiants
|
||||
The 'setAutoSolib' method is no longer in ICDISharedLibraryManager.
|
||||
* GDBDebugger.java
|
||||
|
||||
2003-02-12 Alain Magloire
|
||||
|
||||
* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java:
|
||||
|
|
|
@ -14,6 +14,7 @@ import org.eclipse.cdt.debug.core.cdi.CDIException;
|
|||
import org.eclipse.cdt.debug.core.cdi.ICDISession;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDISharedLibraryManager;
|
||||
import org.eclipse.cdt.debug.mi.core.cdi.Session;
|
||||
import org.eclipse.cdt.debug.mi.core.cdi.SharedLibraryManager;
|
||||
import org.eclipse.core.resources.IFile;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
@ -24,8 +25,11 @@ public class GDBDebugger implements ICDebugger {
|
|||
protected void initializeLibraries(ILaunchConfiguration config, Session session) throws CDIException {
|
||||
try {
|
||||
ICDISharedLibraryManager mgr = session.getSharedLibraryManager();
|
||||
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, true);
|
||||
mgr.setAutoLoadSymbols(autolib);
|
||||
if ( mgr instanceof SharedLibraryManager )
|
||||
{
|
||||
boolean autolib = config.getAttribute(IMILaunchConfigurationConstants.ATTR_AUTO_SOLIB, false);
|
||||
((SharedLibraryManager)mgr).setAutoLoadSymbols(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