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-Tag: 062012170305~16521^2~101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ba98efdf6653a4cb885d576d2e6f349c69679d4;p=profile%2Fivi%2Fmesa.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 bc06429..6f0bd6a 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: