mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Since registers will not change, the method
getRegisters() is now on ICDITarget instead of ICDISTackFrame.
This commit is contained in:
parent
334cbd1564
commit
5a9d2b9bfb
2 changed files with 0 additions and 12 deletions
|
@ -8,7 +8,6 @@ package org.eclipse.cdt.debug.core.cdi.model;
|
|||
|
||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDILocation;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDIRegisterObject;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -7,9 +7,7 @@ package org.eclipse.cdt.debug.mi.core.cdi;
|
|||
|
||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDILocation;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDIRegisterObject;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIArgument;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIRegister;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIVariable;
|
||||
import org.eclipse.cdt.debug.mi.core.MIException;
|
||||
|
@ -132,15 +130,6 @@ public class StackFrame extends CObject implements ICDIStackFrame {
|
|||
return variables;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame#getRegisters(ICDIRegisterObject[])
|
||||
*/
|
||||
public ICDIRegister[] getRegisters(ICDIRegisterObject[] regs) throws CDIException {
|
||||
/* FIXME: Remove this call and use CTarget.getRegiters() */
|
||||
RegisterManager mgr = getCTarget().getCSession().getRegisterManager();
|
||||
return mgr.createRegisters(regs);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIStackFrame#getLocation()
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue