This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB356671: Portable int/long conversion across Python 2 / 
Python 3 (authored by serge_sans_paille, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D59585?vs=191447&id=191689#toc

Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59585/new/

https://reviews.llvm.org/D59585

Files:
  examples/python/jump.py


Index: examples/python/jump.py
===================================================================
--- examples/python/jump.py
+++ examples/python/jump.py
@@ -78,7 +78,7 @@
         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):


Index: examples/python/jump.py
===================================================================
--- examples/python/jump.py
+++ examples/python/jump.py
@@ -78,7 +78,7 @@
         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):
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to