1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-12 18:55:38 +02:00

The gdb-specific 'setAutoSolibMethod' method is removed from ICDISharedLibraryManager.

This commit is contained in:
Mikhail Khodjaiants 2003-02-13 00:15:50 +00:00
parent 0bcd49770d
commit ed1c2b769e
4 changed files with 5 additions and 39 deletions

View file

@ -1,3 +1,8 @@
2003-02-12 Mikhail Khodjaiants
The gdb-specific 'setAutoSolibMethod' method is removed from ICDISharedLibraryManager.
* ICDISharedLibraryManager.java
* CSharedLibraryManager.java
2003-02-12 Alain Magloire
* src/org/eclipse/cdt/debug/core/cdi/mode/ICDITarget.java (getSharedLibraries):

View file

@ -22,9 +22,5 @@ public interface ICSharedLibraryManager extends ICUpdateManager, IAdaptable
void loadSymbols( ICSharedLibrary[] libraries ) throws DebugException;
void setAutoLoadSymbols( boolean set ) throws DebugException;
boolean getAutoLoadSymbols();
void dispose();
}

View file

@ -40,12 +40,6 @@ public interface ICDISharedLibraryManager extends ICDIManager {
*/
void loadSymbols() throws CDIException;
/**
* Automatically load the symbols.
* @throws CDIException
*/
void setAutoLoadSymbols(boolean set) throws CDIException;
/**
* return the search paths for shared libraries.
*

View file

@ -30,7 +30,6 @@ public class CSharedLibraryManager implements ICSharedLibraryManager
{
private CDebugTarget fDebugTarget = null;
private ArrayList fSharedLibraries;
private boolean fAutoLoadSymbols = false;
/**
* Constructor for CSharedLibraryManager.
@ -253,32 +252,4 @@ public class CSharedLibraryManager implements ICSharedLibraryManager
}
}
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.core.ICSharedLibraryManager#setAutoLoadSymbols(boolean)
*/
public void setAutoLoadSymbols( boolean set ) throws DebugException
{
ICDISharedLibraryManager slm = getCDIManager();
if ( slm != null )
{
try
{
slm.setAutoLoadSymbols( set );
fAutoLoadSymbols = set;
}
catch( CDIException e )
{
((CDebugTarget)getDebugTarget()).targetRequestFailed( e.toString(), null );
}
}
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.core.ICSharedLibraryManager#getAutoLoadSymbols()
*/
public boolean getAutoLoadSymbols()
{
return fAutoLoadSymbols;
}
}