diff --git a/gdb-port/top-level-parse.py b/gdb-port/top-level-parse.py index 649333057169148669e96916b37347d67d6e97ce..e8dc13e186489501c6f6908bf86615bae83a133c 100644 --- a/gdb-port/top-level-parse.py +++ b/gdb-port/top-level-parse.py @@ -88,7 +88,7 @@ class TopLevelParse: #if self.memory_stat_method == HammerMemoryStatisticsMethod.DETAILED_ARENA_STATS if self.extended_arena_stats_available(): # DEBUG newbytes = parse_state['arena']['arena_malloc_bytes'] - self.cumulative_byte_differences.insert(0, newbytes - self.bytes_at_enter[-(len(self.cumulative_byte_differences)+1)] # TODO: consistency. this is the third way of answering the question, "how deep are we in the stack" + self.cumulative_byte_differences.insert(0, newbytes - self.bytes_at_enter[-(len(self.cumulative_byte_differences)+1)]) # TODO: consistency. this is the third way of answering the question, "how deep are we in the stack" # Called from h_do_parse()'s handler, at which point we know the addresses of the state and arena def first_h_do_parse_after_packrat_parse(self, parse_state, arena):