mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Use CLICommand.
This commit is contained in:
parent
a03e79b527
commit
768af8cb5a
1 changed files with 3 additions and 1 deletions
|
@ -20,10 +20,12 @@ import org.eclipse.cdt.debug.mi.core.event.MIRunningEvent;
|
||||||
public class TxThread extends Thread {
|
public class TxThread extends Thread {
|
||||||
|
|
||||||
MISession session;
|
MISession session;
|
||||||
|
CLIProcessor cli;
|
||||||
|
|
||||||
public TxThread(MISession s) {
|
public TxThread(MISession s) {
|
||||||
super("MI TX Thread");
|
super("MI TX Thread");
|
||||||
session = s;
|
session = s;
|
||||||
|
cli = new CLIProcessor(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void run () {
|
public void run () {
|
||||||
|
@ -54,7 +56,7 @@ public class TxThread extends Thread {
|
||||||
|
|
||||||
// May need to fire event.
|
// May need to fire event.
|
||||||
if (cmd instanceof CLICommand) {
|
if (cmd instanceof CLICommand) {
|
||||||
processCLICommand((CLICommand)cmd);
|
cli.process((CLICommand)cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
// shove in the pipe
|
// shove in the pipe
|
||||||
|
|
Loading…
Add table
Reference in a new issue