summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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 c17b5db9f8..a17a765914 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 571d8f6eae..9ee47f6e19 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)