From c9a2fe053b4b8567af6a2e6ad6a8ba674318cf5d Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Fri, 17 Jul 2015 11:40:20 +0200 Subject: TCF Debugger: Don't handle artificial types of size 1 as char types --- .../src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java index 474daadb9..a9efeecda 100644 --- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java +++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java @@ -500,6 +500,7 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT if (type.getSize() != 1) return false; if (type.getProperties().get(ISymbols.PROP_BINARY_SCALE) != null) return false; if (type.getProperties().get(ISymbols.PROP_DECIMAL_SCALE) != null) return false; + if (type.getFlag(ISymbols.SYM_FLAG_ARTIFICIAL)) return false; String id = type.getTypeID(); if (id == null || id.equals(type.getID())) break; TCFDataCache type_cache = model.getSymbolInfoCache(id); -- cgit v1.2.3