blob: 37e2776551c123917ecabbd7d4915e0133db5ba4 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2002,2003,2004 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* QNX Software Systems - Initial API and implementation
***********************************************************************/
package org.eclipse.ptp.debug.external.cdi.model;
import org.eclipse.cdt.debug.core.cdi.model.ICDILocalVariable;
import org.eclipse.ptp.debug.external.simulator.SimVariable;
/**
* LocalVariable
*/
public class LocalVariable extends Variable implements ICDILocalVariable {
/**
* @param obj
* @param v
*/
public LocalVariable(LocalVariableDescriptor obj, SimVariable v) {
super(obj, v);
}
/**
*/
public LocalVariable(Target target, Thread thread, StackFrame frame, String n, String q,
int pos, int depth, SimVariable v) {
super(target, thread, frame, n, q, pos, depth, v);
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.mi.core.cdi.model.Variable#createVariable(org.eclipse.cdt.debug.mi.core.cdi.model.Target, java.lang.String, java.lang.String, org.eclipse.cdt.debug.core.cdi.model.ICDIThread, org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame, int, int, org.eclipse.cdt.debug.mi.core.output.MIVar)
*/
protected Variable createVariable(Target target, Thread thread, StackFrame frame, String name,
String fullName, int pos, int depth, SimVariable miVar) {
return new LocalVariable(target, thread, frame, name, fullName, pos, depth, miVar);
}
}