mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 07:25:23 +02:00
[233381] - [data model] Simplify the GDBControlDMContext.toString() string.
This commit is contained in:
parent
9cfe89c6fc
commit
a178ac32bc
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ public class GDBControl extends AbstractMIControl {
|
||||||
fGdbPath = gdbPath;
|
fGdbPath = gdbPath;
|
||||||
fExecPath = execPath;
|
fExecPath = execPath;
|
||||||
fGDBLaunchTimeout = gdbLaunchTimeout;
|
fGDBLaunchTimeout = gdbLaunchTimeout;
|
||||||
fControlDmc = new GDBControlDMContext(session.getId(), getClass().getName() + ":" + ++fgInstanceCounter); //$NON-NLS-1$
|
fControlDmc = new GDBControlDMContext(session.getId(), "gdbcontrol[" + ++fgInstanceCounter + "]"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -57,6 +57,6 @@ public class MIControlDMContext extends AbstractDMContext {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return baseToString() + ".control(" + fCommandControlId + ")"; //$NON-NLS-1$//$NON-NLS-2$*/
|
return baseToString() + fCommandControlId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue