https://gcc.gnu.org/g:874b37281cce90e35dd86f2577eec8d2e3b5de87
commit 874b37281cce90e35dd86f2577eec8d2e3b5de87 Author: Michael Matz <[email protected]> Date: Mon Feb 19 00:47:20 2018 +0100 hack, no submit: Work around my python2.6 install Diff: --- gcc/gdbhooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/gdbhooks.py b/gcc/gdbhooks.py index e9913e0eb32c..387254d9109d 100644 --- a/gcc/gdbhooks.py +++ b/gcc/gdbhooks.py @@ -164,7 +164,8 @@ tcc_declaration = tree_code_class_dict['tcc_declaration'] # on 32-bit hosts but remote targets may have 64-bit pointers there; Python2 # long() is always 64-bit but Python3 no longer has anything named long. def intptr(gdbval): - return long(gdbval) if sys.version_info.major == 2 else int(gdbval) + return long(gdbval) + #return long(gdbval) if sys.version_info.major == 2 else int(gdbval) class Tree: """
