qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] scripts/decodetree: Fix insnmask not marked as glob


From: Bastian Koppelmann
Subject: [Qemu-devel] [PATCH] scripts/decodetree: Fix insnmask not marked as global in main()
Date: Mon, 19 Mar 2018 12:58:46 +0100

if '-w 16' was given as a cmdline args a local copy of insnmask
is set and not the global one.

Signed-off-by: Peer Adelt <address@hidden>
Signed-off-by: Bastian Koppelmann <address@hidden>
---
 scripts/decodetree.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index 41301c84aa..277f9a9bba 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -972,6 +972,7 @@ def main():
     global input_file
     global insnwidth
     global insntype
+    global insnmask
 
     decode_function = 'decode'
     decode_scope = 'static '
-- 
2.16.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]