diff --git a/tools/inject.py b/tools/inject.py index 7ca8896bdf5e..541b5104287e 100755 --- a/tools/inject.py +++ b/tools/inject.py @@ -347,7 +347,7 @@ def _parse_frames(self): count += c == '(' count -= c == ')' if not count: - if c == '\0' or (c == '<' and data[i + 1] == '-'): + if c == '\0' or (c == '=' and data[i + 1] == '>'): if len(cur_frame) == 2: frame = tuple(cur_frame) elif cur_frame[0][0] == '(':