[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/1] scripts/decodetree: Fix insnmask not marked as g
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL 1/1] scripts/decodetree: Fix insnmask not marked as global in main() |
Date: |
Mon, 26 Mar 2018 22:47:30 +0800 |
From: Bastian Koppelmann <address@hidden>
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>
Message-Id: <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Richard Henderson <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.14.3