Re: [Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree.py

2015-12-06 Thread Zhang Yang
ping Wei 2015-12-05 19:52 GMT+08:00 Yang Wei : > The following exception is threw: > Python Exception 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. > >

Re: [Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree.py

2015-12-06 Thread Stefan Hajnoczi
On Sat, Dec 05, 2015 at 07:52:20PM +0800, Yang Wei wrote: > The following exception is threw: > Python Exception 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. > >

[Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree.py

2015-12-05 Thread Yang Wei
The following exception is threw: Python Exception 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 --- scripts/qemugdb/mtree.py | 10

[Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree.py

2015-12-04 Thread Yang Wei
The following exception is threw: Python Exception 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 --- scripts/qemugdb/mtree.py | 10