1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Added default implementation for "getExtraArguments". No need to force clients to implement this method.

This commit is contained in:
Mikhail Khodjaiants 2006-03-13 22:48:36 +00:00
parent 305b4787c5
commit 17afe7c4ac
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-03-13 Mikhail Khodjaiants
Added default implementation for "getExtraArguments". No need to force
clients to implement this method.
* AbstractGDBCDIDebugger.java
2006-02-09 Mikhail Khodjaiants
Bug 114793: Add an extension point to contribute command factories.
Registered windows and linux specific command factories for gdbserver.

View file

@ -124,7 +124,9 @@ abstract public class AbstractGDBCDIDebugger implements ICDIDebugger2 {
throw newCoreException( MIPlugin.getResourceString( "src.AbstractGDBCDIDebugger.0" ) + debugMode, null ); //$NON-NLS-1$
}
abstract protected String[] getExtraArguments( ILaunchConfiguration config ) throws CoreException;
protected String[] getExtraArguments( ILaunchConfiguration config ) throws CoreException {
return new String[0];
}
abstract protected CommandFactory getCommandFactory( ILaunchConfiguration config ) throws CoreException;