summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-03-21 14:41:34 +0000
committerSerge Guelton <sguelton@redhat.com>2019-03-21 14:41:34 +0000
commitbfb779188ff0c5b049c17f8f2e034848d7537cbe (patch)
tree48b17883f1316120d7f4f09e23fe7785968a2f50 /lldb/examples
parent3577da766719b9341783558d1472dd94ce5abe0d (diff)
downloadbcm5719-llvm-bfb779188ff0c5b049c17f8f2e034848d7537cbe.tar.gz
bcm5719-llvm-bfb779188ff0c5b049c17f8f2e034848d7537cbe.zip
Portable int/long conversion across Python 2 / Python 3
Differential Revision: https://reviews.llvm.org/D59585 llvm-svn: 356671
Diffstat (limited to 'lldb/examples')
-rw-r--r--lldb/examples/python/jump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/jump.py b/lldb/examples/python/jump.py
index 6e41b4c8098..e33a6a6f369 100644
--- a/lldb/examples/python/jump.py
+++ b/lldb/examples/python/jump.py
@@ -78,7 +78,7 @@ def parse_linespec(linespec, frame, result):
if (mo is not None):
matched = True
# print "Matched <address-expression>"
- address = long(mo.group(1), base=0)
+ address = int(mo.group(1), base=0)
breakpoint = target.BreakpointCreateByAddress(address)
if (not matched):
OpenPOWER on IntegriCloud