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

If h_parse returns before the next h_do_parse call, stop in next h_parse() call

parent c7fda1ae
Branches token-display
No related tags found
No related merge requests found
......@@ -102,6 +102,9 @@ class HDoParseRetBreakpoint(gdb.Breakpoint):
# Do not stop at this breakpoint, but stop at the next HDoParseBreakpoint
gdb.set_convenience_variable("hammer_step_counter", 1)
elif top_level_parse.peek_parserstack() and len(top_level_parse.peek_parserstack().p_stack) < 2:
gdb.set_convenience_variable("hammer_step_counter", 1)
return False
class PerformLowLevelParseBreakpoint(gdb.Breakpoint):
......
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