summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-07-16 19:34:44 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-07-16 19:34:44 +0100
commit2ba98efdf6653a4cb885d576d2e6f349c69679d4 (patch)
tree5a1594fcc623ff04643640c144739fbfac162be3
parentcf7e8fbc2ea2739f1955d83751b631c5444a3c91 (diff)
python/retrace: Process the call no passed to --to option inclusively.
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/interpreter.py2
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 bc06429b77..6f0bd6ae52 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: