[Lldb-commits] [PATCH] D59585: python 2/3 compat: int vs long
Phabricator via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 21 07:41:14 PDT 2019
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):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59585.191689.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190321/c3a462c5/attachment.bin>
More information about the lldb-commits
mailing list