summaryrefslogtreecommitdiffstats
path: root/scripts/qemugdb/mtree.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts/qemugdb/mtree.py: fix up mtree dumpAlex Bennée2017-04-071-2/+10
| | | | | | | | | Since QEMU has been able to build with native Int128 support this was broken as it attempts to fish values out of the non-existent structure. Also the alias print was trying to make a %x out of gdb.ValueType directly which didn't seem to work. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
* scripts/gdb: Fix a python exception in mtree.pyYang Wei2015-12-221-5/+5
| | | | | | | | | | | | | 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/qemu-gdb: Split MtreeCommand into its own modulePeter Maydell2015-09-111-0/+82
As we add more commands to our Python gdb debugging support, it's going to get unwieldy to have everything in a single file. Split the implementation of the 'mtree' command from qemu-gdb.py into its own module. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1439574392-4403-2-git-send-email-peter.maydell@linaro.org