Descriptiongdb-v8-support.py: Fix old style print statement
Since python3 does not use the old print statement, it may not be able
to load gdb-v8-support.py script in gdb as below:
(gdb) source tools/gdb-v8-support.py
File "tools/gdb-v8-support.py", line 170
print result
^
SyntaxError: Missing parentheses in call to 'print'
This fixes print statement for both python2 and python3.
R=jochen@chromium.org
BUG=
Committed: https://crrev.com/c52685a516e9b3bf3c14dcb59356962206395bb0
Cr-Commit-Position: refs/heads/master@{#37488}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 10 (2 generated)
|