mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
"set solib-search-path" and "show solib-search-path" are not supported on Windows.
This commit is contained in:
parent
4bb4cc51dc
commit
a0af806148
2 changed files with 66 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-04-10 Mikhail Khodjaiants
|
||||
"set solib-search-path" and "show solib-search-path" are not supported on Windows.
|
||||
* StandardWinCommandFactory.java
|
||||
|
||||
2006-04-03 Mikhail Khodjaiants
|
||||
Bug 134617: The "stop on shared library event" option doesn't work.
|
||||
* GDBCDIDebugger2.java
|
||||
|
|
|
@ -13,6 +13,8 @@ package org.eclipse.cdt.debug.mi.core.command.factories.win32;
|
|||
import org.eclipse.cdt.debug.mi.core.command.CLIInfoSharedLibrary;
|
||||
import org.eclipse.cdt.debug.mi.core.command.MIEnvironmentCD;
|
||||
import org.eclipse.cdt.debug.mi.core.command.MIGDBSetAutoSolib;
|
||||
import org.eclipse.cdt.debug.mi.core.command.MIGDBSetSolibSearchPath;
|
||||
import org.eclipse.cdt.debug.mi.core.command.MIGDBShowSolibSearchPath;
|
||||
import org.eclipse.cdt.debug.mi.core.command.factories.StandardCommandFactory;
|
||||
|
||||
/**
|
||||
|
@ -77,4 +79,64 @@ public class StandardWinCommandFactory extends StandardCommandFactory {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.CommandFactory#createMIGDBShowSolibSearchPath()
|
||||
*/
|
||||
public MIGDBShowSolibSearchPath createMIGDBShowSolibSearchPath() {
|
||||
// Suppress "show solib-search-path" - returns error on Windows
|
||||
return new MIGDBShowSolibSearchPath( getMIVersion() ) {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getOperation()
|
||||
*/
|
||||
public String getOperation() {
|
||||
return ""; //$NON-NLS-1$
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getOptions()
|
||||
*/
|
||||
public String[] getOptions() {
|
||||
return new String[0];
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getParameters()
|
||||
*/
|
||||
public String[] getParameters() {
|
||||
return new String[0];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.CommandFactory#createMIGDBSetSolibSearchPath(java.lang.String[])
|
||||
*/
|
||||
public MIGDBSetSolibSearchPath createMIGDBSetSolibSearchPath( String[] params ) {
|
||||
// Suppress "set solib-search-path" - returns error on Windows
|
||||
return new MIGDBSetSolibSearchPath( getMIVersion(), params ) {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getOperation()
|
||||
*/
|
||||
public String getOperation() {
|
||||
return ""; //$NON-NLS-1$
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getOptions()
|
||||
*/
|
||||
public String[] getOptions() {
|
||||
return new String[0];
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.mi.core.command.MICommand#getParameters()
|
||||
*/
|
||||
public String[] getParameters() {
|
||||
return new String[0];
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue