.gdbinit_python
author Tom Tromey <tom@tromey.com>
Tue, 15 Jan 2019 09:59:22 +0000
changeset 453947 d7d3b47d3a775c7fa45d5e0c3a6eba850cc394e8
parent 362829 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
child 482060 fa94c9a03e3f019a060d028f61da69af41e3a8ff
permissions -rw-r--r--
Bug 1520003 - make ExecutableAllocator.py work with Python 2; r=nbp ExecutableAllocator.py's PoolIterator is a Python 3 iterator in that it defines the __next__ method. Defining |next| as well lets this code work in Python 2. MozReview-Commit-ID: JlkSsZHZkpw Differential Revision: https://phabricator.services.mozilla.com/D16500

python
import sys
sys.path.append('third_party/python/gdbpp/')
import gdbpp
end