From: José Fonseca Date: Thu, 16 Jul 2009 18:34:44 +0000 (+0100) Subject: python/retrace: Process the call no passed to --to option inclusively. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ba98efdf6653a4cb885d576d2e6f349c69679d4;p=mesa.git python/retrace: Process the call no passed to --to option inclusively. --- diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py index bc06429b77f..6f0bd6ae52a 100755 --- a/src/gallium/state_trackers/python/retrace/interpreter.py +++ b/src/gallium/state_trackers/python/retrace/interpreter.py @@ -677,7 +677,7 @@ class Interpreter(parser.TraceDumper): self.interpret_call(call) def handle_call(self, call): - if self.options.stop and call.no >= self.options.stop: + if self.options.stop and call.no > self.options.stop: sys.exit(0) if (call.klass, call.method) in self.ignore_calls: