scripts/gdb: Fix a python exception in mtree.py
commitd6b6913276535bc0bc0d519d94ba0c908d8cfed8
authorYang Wei <w90p710@gmail.com>
Sat, 5 Dec 2015 11:52:20 +0000 (5 19:52 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 22 Dec 2015 08:01:08 +0000 (22 16:01 +0800)
tree15a0e9f0ad1d4286f3010e0fbe67a1a8f8081f6f
parentb4a9e25b7b8f258f0692d273e59e3e20347cdf28
scripts/gdb: Fix a python exception in mtree.py

The following exception is threw:
Python Exception <class 'NameError'> name 'long' is not defined:
Error occurred in Python command: name 'long' is not defined

Python 2.4+, int()/long() have been unified, so replace long
with int.

Signed-off-by: Yang Wei <w90p710@gmail.com>
Message-id: 1449316340-4030-1-git-send-email-w90p710@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/qemugdb/mtree.py