mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-17 05:55:22 +02:00
Rename MIExitEvent to MIGDBExitEvent add MIThreadExit also.
This commit is contained in:
parent
081cc6e69b
commit
8f1ca1e6e3
13 changed files with 114 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gdb Session terminated.
|
|
||||||
*/
|
|
||||||
public class MIExitEvent extends MIEvent {
|
|
||||||
}
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gdb Session terminated.
|
||||||
|
*/
|
||||||
|
public class MIGDBExitEvent extends MIEvent {
|
||||||
|
}
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This can not be detected yet by gdb/mi.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class MIThreadExitEvent extends MIEvent {
|
||||||
|
|
||||||
|
int tid;
|
||||||
|
|
||||||
|
public MIThreadExitEvent(int id) {
|
||||||
|
tid = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getId() {
|
||||||
|
return tid;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This can not be detected yet by gdb/mi.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class MIVarChangedEvent extends MIEvent {
|
||||||
|
|
||||||
|
String varName;
|
||||||
|
boolean inScope;
|
||||||
|
|
||||||
|
public MIVarChangedEvent(String var, boolean scope) {
|
||||||
|
varName = var;
|
||||||
|
inScope = scope;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVarName() {
|
||||||
|
return varName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isInScope() {
|
||||||
|
return inScope;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package org.eclipse.cdt.debug.mi.core.event;
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
import org.eclipse.cdt.debug.mi.core.output.MIConst;
|
||||||
|
|
Loading…
Add table
Reference in a new issue