Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-06-16 22:18:58 -0400
committereutarass2010-06-16 22:18:58 -0400
commit53f91e1ad0cea622e8aa8853365b2203b5ee2245 (patch)
tree04ea6f4a16941c815e94c19e23fd197e3dded4d5 /plugins
parent040588a0268dab4eb402d22b02a1adf583aca37e (diff)
downloadorg.eclipse.tcf-53f91e1ad0cea622e8aa8853365b2203b5ee2245.tar.gz
org.eclipse.tcf-53f91e1ad0cea622e8aa8853365b2203b5ee2245.tar.xz
org.eclipse.tcf-53f91e1ad0cea622e8aa8853365b2203b5ee2245.zip
TCF Agent: implemented fast search of DWARF compilation units using .debug_aranges section
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
index 44a693a6b..cecf22dad 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
@@ -288,11 +288,14 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
}
if (!test_suite.isActive(TestRCBP1.this)) return;
assert test_ctx_id != null;
- if (!symbol.isAbs()) {
- exit(new Exception("Symbols must be absolute: " + name));
+ if (symbol == null) {
+ exit(new Exception("Symbol must not be NULL: " + name));
+ }
+ else if (!symbol.isAbs()) {
+ exit(new Exception("Symbol must be absolute: " + name));
}
else if (symbol.getValue() == null || symbol.getValue().longValue() == 0) {
- exit(new Exception("Symbols must not be NULL: " + name));
+ exit(new Exception("Symbol value must not be NULL: " + name));
}
else {
sym_list.put(name, symbol);

Back to the top