mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Made "getCommandFile" and "getWorkingDirectory" methods protected.
This commit is contained in:
parent
2a30a9aa28
commit
d1ad9cfff1
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-03-20 Mikhail Khodjaiants
|
||||||
|
Made "getCommandFile" and "getWorkingDirectory" methods protected.
|
||||||
|
* GDBCDIDebugger2.java
|
||||||
|
|
||||||
2006-03-16 Mikhail Khodjaiants
|
2006-03-16 Mikhail Khodjaiants
|
||||||
ILaunch is added to the arguments list of "doStartSession".
|
ILaunch is added to the arguments list of "doStartSession".
|
||||||
* AbstractGDBCDIDebugger.java
|
* AbstractGDBCDIDebugger.java
|
||||||
|
|
|
@ -222,12 +222,12 @@ public class GDBCDIDebugger2 extends AbstractGDBCDIDebugger {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getWorkingDirectory( ILaunchConfiguration config ) throws CoreException {
|
protected String getWorkingDirectory( ILaunchConfiguration config ) throws CoreException {
|
||||||
File cwd = getProjectPath( config ).toFile();
|
File cwd = getProjectPath( config ).toFile();
|
||||||
return "--cd=" + cwd.getAbsolutePath(); //$NON-NLS-1$
|
return "--cd=" + cwd.getAbsolutePath(); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getCommandFile( ILaunchConfiguration config ) throws CoreException {
|
protected String getCommandFile( ILaunchConfiguration config ) throws CoreException {
|
||||||
String gdbinit = config.getAttribute( IMILaunchConfigurationConstants.ATTR_GDB_INIT, IMILaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT );
|
String gdbinit = config.getAttribute( IMILaunchConfigurationConstants.ATTR_GDB_INIT, IMILaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT );
|
||||||
return (gdbinit != null && gdbinit.length() > 0) ? "--command=" + gdbinit : "--nx"; //$NON-NLS-1$ //$NON-NLS-2$
|
return (gdbinit != null && gdbinit.length() > 0) ? "--command=" + gdbinit : "--nx"; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue