mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
changed default platform to "local"
This commit is contained in:
parent
f3e97df34a
commit
d862e1f83c
2 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class DebugConfiguration implements ICDebugConfiguration {
|
||||||
public String[] getPlatforms() {
|
public String[] getPlatforms() {
|
||||||
String platform = getConfigurationElement().getAttribute("platform");
|
String platform = getConfigurationElement().getAttribute("platform");
|
||||||
if ( platform == null ) {
|
if ( platform == null ) {
|
||||||
return new String[] {"*"};
|
return new String[] {"local"};
|
||||||
}
|
}
|
||||||
StringTokenizer stoken = new StringTokenizer(platform, ",");
|
StringTokenizer stoken = new StringTokenizer(platform, ",");
|
||||||
String[] platforms = new String[stoken.countTokens()];
|
String[] platforms = new String[stoken.countTokens()];
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.cdt.debug.core.CDebugger">
|
point="org.eclipse.cdt.debug.core.CDebugger">
|
||||||
<debugger
|
<debugger
|
||||||
|
platform="local"
|
||||||
name="%GDBDebugger.name"
|
name="%GDBDebugger.name"
|
||||||
modes="run,core,attach"
|
modes="run,core,attach"
|
||||||
class="org.eclipse.cdt.debug.mi.core.GDBDebugger"
|
class="org.eclipse.cdt.debug.mi.core.GDBDebugger"
|
||||||
|
|
Loading…
Add table
Reference in a new issue