summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/model.py2
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/parser.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/retrace/model.py b/src/gallium/state_trackers/python/retrace/model.py
index c17b5db9f8b..a17a7659145 100755
--- a/src/gallium/state_trackers/python/retrace/model.py
+++ b/src/gallium/state_trackers/python/retrace/model.py
@@ -89,7 +89,7 @@ class Pointer(Node):
visitor.visit_pointer(self)
def __str__(self):
- return hex(self.address)
+ return self.address
class Call:
diff --git a/src/gallium/state_trackers/python/retrace/parser.py b/src/gallium/state_trackers/python/retrace/parser.py
index 571d8f6eaed..9ee47f6e192 100755
--- a/src/gallium/state_trackers/python/retrace/parser.py
+++ b/src/gallium/state_trackers/python/retrace/parser.py
@@ -316,8 +316,6 @@ class TraceParser(XmlParser):
address = self.character_data()
self.element_end('ptr')
- address = int(address, 16)
-
return Pointer(address)