Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2015-07-17 05:40:20 -0400
committerAnton Leherbauer2015-07-17 05:58:58 -0400
commitc9a2fe053b4b8567af6a2e6ad6a8ba674318cf5d (patch)
treee1811b4c780236010b06458f40328a0af1829a2a
parent374f7d6f440348e292548082ffaf2f27eec956b6 (diff)
downloadorg.eclipse.tcf-c9a2fe053b4b8567af6a2e6ad6a8ba674318cf5d.tar.gz
org.eclipse.tcf-c9a2fe053b4b8567af6a2e6ad6a8ba674318cf5d.tar.xz
org.eclipse.tcf-c9a2fe053b4b8567af6a2e6ad6a8ba674318cf5d.zip
TCF Debugger: Don't handle artificial types of size 1 as char types
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExpression.java1
1 files changed, 1 insertions, 0 deletions
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<ISymbols.Symbol> type_cache = model.getSymbolInfoCache(id);

Back to the top