1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Overload getFullName() for registerObject

This commit is contained in:
Alain Magloire 2004-06-02 14:47:04 +00:00
parent bdf0ba7530
commit 5614c7c557
2 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-0602 Alain Magloire
Overload getFullName() for registerObject
* cdi/org/eclipse/cdt/debug/mi/core/cdi/mode/RegisterObject.java
2004-05-28 Alain Magloire
GDB has special "types"

View file

@ -15,4 +15,16 @@ public class RegisterObject extends VariableObject implements ICDIRegisterObject
super(target, name, fn, null, i, 0);
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.mi.core.cdi.model.VariableObject#getFullName()
*/
public String getFullName() {
if (fullName == null) {
String n = getName();
if (!n.startsWith("$")) { //$NON-NLS-1$
fullName = "$" + n; //$NON-NLS-1$
}
}
return fullName;
}
}