1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Fix for PR 58249

This commit is contained in:
Alain Magloire 2004-05-31 15:31:11 +00:00
parent 92b484a970
commit 0209657630
3 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-05-28 Alain Magloire
QuickFix for PR 58249
2004-05-28 Alain Magloire
Error in looking for the CIdentifier.

View file

@ -26,6 +26,16 @@ public class Register extends Variable implements ICDIRegister {
super(obj, var);
}
/**
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject#getQualifiedName()
*/
public String getQualifiedName() throws CDIException {
if (qualifiedName == null) {
qualifiedName = "$" + getFullName(); //$NON-NLS-1$
}
return qualifiedName;
}
public ICDIVariable[] getChildren() throws CDIException {
Session session = (Session)(getTarget().getSession());
MISession mi = session.getMISession();

View file

@ -1,5 +1,6 @@
package org.eclipse.cdt.debug.mi.core.cdi.model;
import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.model.ICDIRegisterObject;
import org.eclipse.cdt.debug.core.cdi.model.ICDITarget;
@ -11,4 +12,14 @@ public class RegisterObject extends VariableObject implements ICDIRegisterObject
super(target, name, null, i, 0);
}
/**
* @see org.eclipse.cdt.debug.core.cdi.model.ICDIVariableObject#getQualifiedName()
*/
public String getQualifiedName() throws CDIException {
if (qualifiedName == null) {
qualifiedName = "$" + getFullName(); //$NON-NLS-1$
}
return qualifiedName;
}
}