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:
parent
bdf0ba7530
commit
5614c7c557
2 changed files with 18 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue