diff --git a/gdb-port/hammer-breakpoints.py b/gdb-port/hammer-breakpoints.py index 9f225e140e642a031f88a5ab7e1c2d4a904b580f..2e26ae6a43125d69fb53282b584cb80b83a996eb 100644 --- a/gdb-port/hammer-breakpoints.py +++ b/gdb-port/hammer-breakpoints.py @@ -159,7 +159,7 @@ class HRuleBreakpoint(gdb.Breakpoint): parser_type = gdb.lookup_type("HParser").pointer() for p in block: - # GDB (Debian 10.1-2) with python 3.9 crashes when trying to compare these two, but doing this would filter out locals that aren't parsers - #if p.type == parser_type: - top_level_parse.parser_objs[int(p.value(frame))] = Parser(p.name, int(p.value(frame))) + # GDB (Debian 10.1-2) with python 3.9 crashes when trying to compare these two, but doing this filters out locals that aren't parsers + if p.type == parser_type: + top_level_parse.parser_objs[int(p.value(frame))] = Parser(p.name, int(p.value(frame)))