1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Use CLICommand.

This commit is contained in:
Alain Magloire 2003-01-08 15:44:04 +00:00
parent a03e79b527
commit 768af8cb5a

View file

@ -20,10 +20,12 @@ import org.eclipse.cdt.debug.mi.core.event.MIRunningEvent;
public class TxThread extends Thread {
MISession session;
CLIProcessor cli;
public TxThread(MISession s) {
super("MI TX Thread");
session = s;
cli = new CLIProcessor(session);
}
public void run () {
@ -54,7 +56,7 @@ public class TxThread extends Thread {
// May need to fire event.
if (cmd instanceof CLICommand) {
processCLICommand((CLICommand)cmd);
cli.process((CLICommand)cmd);
}
// shove in the pipe