mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +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;
|
||||
fExecPath = execPath;
|
||||
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
|
||||
|
|
|
@ -57,6 +57,6 @@ public class MIControlDMContext extends AbstractDMContext {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return baseToString() + ".control(" + fCommandControlId + ")"; //$NON-NLS-1$//$NON-NLS-2$*/
|
||||
return baseToString() + fCommandControlId;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue