mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fix for PR 58249
This commit is contained in:
parent
92b484a970
commit
0209657630
3 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-05-28 Alain Magloire
|
||||
|
||||
QuickFix for PR 58249
|
||||
|
||||
2004-05-28 Alain Magloire
|
||||
|
||||
Error in looking for the CIdentifier.
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue