Reviewers: Toon Verwaest,

Message:
PTAL.

Description:
grokdump: fix Oddball printing

Please review this at https://codereview.chromium.org/22852021/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M tools/grokdump.py


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):


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to