Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2012-09-06 13:41:09 -0400
committerPawel Piech2012-09-06 13:45:00 -0400
commit7810fb3b8a86687a576ea9fe80f06584d3b49e60 (patch)
treec8c48afa41755c27e7a5aac555468502ea494840
parente8fcc2fc795e72b3fab92528a0156851e62c28da (diff)
downloadorg.eclipse.tcf-7810fb3b8a86687a576ea9fe80f06584d3b49e60.tar.gz
org.eclipse.tcf-7810fb3b8a86687a576ea9fe80f06584d3b49e60.tar.xz
org.eclipse.tcf-7810fb3b8a86687a576ea9fe80f06584d3b49e60.zip
Bug 388973 - Guard against ISymbols.Symbol.getAddress() returning null.
Remove redundant guard in TCFNodeStackFrame that was added as part of fix.
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
index da38d87c7..9f439f4f9 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeStackFrame.java
@@ -107,7 +107,7 @@ public class TCFNodeStackFrame extends TCFNode {
TCFDataCache<ISymbols.Symbol> sym_cache = model.getSymbolInfoCache(ref.symbol_id);
if (!sym_cache.validate(this)) return false;
ISymbols.Symbol sym_data = sym_cache.getData();
- if (sym_data != null && sym_data.getAddress() != null) {
+ if (sym_data != null) {
func_start = n.equals(JSON.toBigInteger(sym_data.getAddress()));
}
}

Back to the top