1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Copyright

This commit is contained in:
Alain Magloire 2002-08-26 05:22:42 +00:00
parent 9cf3fc83e9
commit fd4b56fff1
3 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,8 @@
/*
* (c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.mi.core.cdi; package org.eclipse.cdt.debug.mi.core.cdi;
import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.CDIException;
@ -88,6 +93,6 @@ public class SuspendedEvent implements ICDISuspendedEvent {
} catch (CDIException e) { } catch (CDIException e) {
} }
return null; return target;
} }
} }

View file

@ -1,3 +1,8 @@
/*
* (c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.mi.core.cdi; package org.eclipse.cdt.debug.mi.core.cdi;
import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.CDIException;
@ -41,8 +46,6 @@ public class Value extends CObject implements ICDIValue {
*/ */
public String getValueString() throws CDIException { public String getValueString() throws CDIException {
String result = ""; String result = "";
StackFrame stack = variable.getStackFrame();
stack.getCThread().setCurrentStackFrame(stack);
MISession mi = getCTarget().getCSession().getMISession(); MISession mi = getCTarget().getCSession().getMISession();
CommandFactory factory = mi.getCommandFactory(); CommandFactory factory = mi.getCommandFactory();
MIVarEvaluateExpression var = MIVarEvaluateExpression var =
@ -64,8 +67,6 @@ public class Value extends CObject implements ICDIValue {
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIValue#getVariables() * @see org.eclipse.cdt.debug.core.cdi.model.ICDIValue#getVariables()
*/ */
public ICDIVariable[] getVariables() throws CDIException { public ICDIVariable[] getVariables() throws CDIException {
StackFrame stack = variable.getStackFrame();
stack.getCThread().setCurrentStackFrame(stack);
Variable[] variables = null; Variable[] variables = null;
MISession mi = getCTarget().getCSession().getMISession(); MISession mi = getCTarget().getCSession().getMISession();
CommandFactory factory = mi.getCommandFactory(); CommandFactory factory = mi.getCommandFactory();

View file

@ -1,3 +1,8 @@
/*
* (c) Copyright QNX Software Systems Ltd. 2002.
* All Rights Reserved.
*
*/
package org.eclipse.cdt.debug.mi.core.cdi; package org.eclipse.cdt.debug.mi.core.cdi;
import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.CDIException;