Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-08-25 19:37:17 -0400
committerAlain Magloire2003-08-25 19:37:17 -0400
commitb081b1d2a5d5c9b3c974d6839ca0420426301ce8 (patch)
tree08ec112f572c621cfd366e84cf3c0534ecdf3a29
parent079619981729c2d5d9955b54280b94b8ba356a3a (diff)
downloadorg.eclipse.cdt-b081b1d2a5d5c9b3c974d6839ca0420426301ce8.tar.gz
org.eclipse.cdt-b081b1d2a5d5c9b3c974d6839ca0420426301ce8.tar.xz
org.eclipse.cdt-b081b1d2a5d5c9b3c974d6839ca0420426301ce8.zip
Use the datatype form the GDBTypeParser.
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
index 61d200622a5..10f2beac425 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
@@ -242,16 +242,16 @@ public class SourceManager extends SessionObject implements ICDISourceManager {
switch(gdbType.getType()) {
case GDBType.ARRAY:
int d = ((GDBDerivedType)gdbType).getDimension();
- aType = new ArrayType(target, typename, d);
+ aType = new ArrayType(target, gdbType.toString(), d);
break;
case GDBType.FUNCTION:
- aType = new FunctionType(target, typename);
+ aType = new FunctionType(target, gdbType.toString());
break;
case GDBType.POINTER:
- aType = new PointerType(target, typename);
+ aType = new PointerType(target, gdbType.toString());
break;
case GDBType.REFERENCE:
- aType = new ReferenceType(target, typename);
+ aType = new ReferenceType(target, gdbType.toString());
break;
}
gdbType = ((GDBDerivedType)gdbType).getChild();

Back to the top