diff --git a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py index bf0a0f198672..acb66a90895e 100644 --- a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py +++ b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py @@ -176,16 +176,12 @@ class DbgEng(DebuggerBase): return self.finished def evaluate_expression(self, expression, frame_idx=0): - # XXX: cdb insists on using '->' to examine fields of structures, - # as it appears to reserve '.' for other purposes. - fixed_expr = expression.replace(".", "->") - orig_scope_idx = self.client.Symbols.GetCurrentScopeFrameIndex() self.client.Symbols.SetScopeFrameByIndex(frame_idx) - res = self.client.Control.Evaluate(fixed_expr) + res = self.client.Control.Evaluate(expression) if res is not None: - result, typename = self.client.Control.Evaluate(fixed_expr) + result, typename = self.client.Control.Evaluate(expression) could_eval = True else: result, typename = (None, None)