public class GoDebugServicesExtensions extends DebugServicesExtensions {
@Override
protected MIVariableManager services_createMIVariableManager(DsfSession session,
DsfServicesTracker servicesTracker) {
return new MIVariableManager_LangExtension(session, servicesTracker) {
@Override
protected GDBType getCorrectedGdbType(String newTypeName, GDBType gdbType) {
if(gdbType.getType() == GDBType.POINTER && gdbType instanceof GDBDerivedType) {
GDBDerivedType gdbDerivedType = (GDBDerivedType) gdbType;
return gdbTypeParser.new GDBDerivedType(gdbDerivedType.getChild(), GDBType.REFERENCE);