python/retrace: Keep addresses as strings.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 14 Aug 2008 13:40:27 +0000 (14:40 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 15 Aug 2008 09:35:19 +0000 (10:35 +0100)
To simplify looking up these in the trace.

src/gallium/state_trackers/python/retrace/model.py
src/gallium/state_trackers/python/retrace/parser.py

index c17b5db..a17a765 100755 (executable)
@@ -89,7 +89,7 @@ class Pointer(Node):
         visitor.visit_pointer(self)
         
     def __str__(self):
-        return hex(self.address)
+        return self.address
 
 
 class Call:
index 571d8f6..9ee47f6 100755 (executable)
@@ -316,8 +316,6 @@ class TraceParser(XmlParser):
         address = self.character_data()
         self.element_end('ptr')
 
-        address = int(address, 16)
-        
         return Pointer(address)