mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
scripts/qemu-gdb: add simple tcg lock status helper
Add a simple helper to dump lock state. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
809092f313
commit
f1cd52d891
2 changed files with 48 additions and 1 deletions
|
@ -26,7 +26,7 @@ import os, sys
|
|||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
from qemugdb import aio, mtree, coroutine
|
||||
from qemugdb import aio, mtree, coroutine, tcg
|
||||
|
||||
class QemuCommand(gdb.Command):
|
||||
'''Prefix for QEMU debug support commands'''
|
||||
|
@ -38,6 +38,7 @@ QemuCommand()
|
|||
coroutine.CoroutineCommand()
|
||||
mtree.MtreeCommand()
|
||||
aio.HandlersCommand()
|
||||
tcg.TCGLockStatusCommand()
|
||||
|
||||
coroutine.CoroutineSPFunction()
|
||||
coroutine.CoroutinePCFunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue