Mesa (mesa_7_5_branch): python/retrace: Process the call no passed to --to option inclusively.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Jul 16 18:34:55 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 2ba98efdf6653a4cb885d576d2e6f349c69679d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ba98efdf6653a4cb885d576d2e6f349c69679d4

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jul 16 19:34:44 2009 +0100

python/retrace: Process the call no passed to --to option inclusively.

---

 .../state_trackers/python/retrace/interpreter.py   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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:




More information about the mesa-commit mailing list