Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: tools/grokdump.py

Issue 22852021: grokdump: fix Oddball printing (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grokdump.py
diff --git a/tools/grokdump.py b/tools/grokdump.py
index 12ccefdef74b6aa3b72ed01ce63634cc553c0bde..317a7d6a911fe4dd0bd0014af19bdde1585c3770 100755
--- a/tools/grokdump.py
+++ b/tools/grokdump.py
@@ -1138,7 +1138,7 @@ class Oddball(HeapObject):
def __str__(self):
if self.to_string:
- return "Oddball(%08x, <%s>)" % (self.address, self.to_string.GetChars())
+ return "Oddball(%08x, <%s>)" % (self.address, str(self.to_string))
else:
kind = "???"
if 0 <= self.kind < len(Oddball.KINDS):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698