CheckPoint : revision dwarf parsing logic because of changing dwarf format.
authorjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 22 Jul 2015 05:46:10 +0000 (14:46 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Wed, 22 Jul 2015 07:45:24 +0000 (16:45 +0900)
format of DW_AT_high_pc is changed to DW_FORM_data4

Change-Id: Icbd9f77f376af5e24bddb6bf076fa3ef46d6a59f
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalyzer/lib/org.eclipse.cdt.debug.edc_1.0.0.201503041838.jar
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/interactive/model/InteractiveParser.java

index df15db5..deaa1c5 100644 (file)
Binary files a/org.tizen.dynamicanalyzer/lib/org.eclipse.cdt.debug.edc_1.0.0.201503041838.jar and b/org.tizen.dynamicanalyzer/lib/org.eclipse.cdt.debug.edc_1.0.0.201503041838.jar differ
index b84ad6e..de5702e 100644 (file)
@@ -595,7 +595,7 @@ public class InteractiveParser {
                        IFunctionScope funcScope) {
                if (lexicalScope instanceof LexicalBlockScope) {
                        if (line.getLowAddress().compareTo(lexicalScope.getHighAddress()) < 0
-                                       && line.getLowAddress().compareTo(lexicalScope.getLowAddress()) > 0) {
+                                       && line.getLowAddress().compareTo(lexicalScope.getLowAddress()) >= 0) {
                                Collection<IVariable> variables = ((ILexicalBlockScope) lexicalScope).getVariablesInTree();
                                return getVariableInfo(variables, varName, line, true, funcScope);
                        }