Skip to content
Snippets Groups Projects
Commit b0bb6882 authored by pompolic's avatar pompolic
Browse files

Filter locals to HParser*s (finally)

parent 9918dd2b
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ class HRuleBreakpoint(gdb.Breakpoint): ...@@ -136,7 +136,7 @@ class HRuleBreakpoint(gdb.Breakpoint):
parser_type = gdb.lookup_type("HParser").pointer() parser_type = gdb.lookup_type("HParser").pointer()
for p in block: 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 # 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: if p.type == parser_type:
top_level_parse.parser_objs[int(p.value(frame))] = Parser(p.name, int(p.value(frame))) top_level_parse.parser_objs[int(p.value(frame))] = Parser(p.name, int(p.value(frame)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment