[Lldb-commits] [lldb] r356671 - Portable int/long conversion across Python 2 / Python 3
Serge Guelton via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 21 07:41:34 PDT 2019
Author: serge_sans_paille
Date: Thu Mar 21 07:41:34 2019
New Revision: 356671
URL: http://llvm.org/viewvc/llvm-project?rev=356671&view=rev
Log:
Portable int/long conversion across Python 2 / Python 3
Differential Revision: https://reviews.llvm.org/D59585
Modified:
lldb/trunk/examples/python/jump.py
Modified: lldb/trunk/examples/python/jump.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/jump.py?rev=356671&r1=356670&r2=356671&view=diff
==============================================================================
--- lldb/trunk/examples/python/jump.py (original)
+++ lldb/trunk/examples/python/jump.py Thu Mar 21 07:41:34 2019
@@ -78,7 +78,7 @@ def parse_linespec(linespec, frame, resu
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):
More information about the lldb-commits
mailing list