[Lldb-commits] [PATCH] D59585: python 2/3 compat: int vs long

serge via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 20 00:26:40 PDT 2019


serge-sans-paille created this revision.
serge-sans-paille added a reviewer: michaelplatings.
Herald added subscribers: lldb-commits, jdoerfert.
Herald added a project: LLDB.

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D59585

Files:
  lldb/examples/python/jump.py


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59585.191447.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190320/3ffae817/attachment.bin>


More information about the lldb-commits mailing list