]> git.proxmox.com Git - mirror_qemu.git/commitdiff
scripts/decodetree: Fix insnmask not marked as global in main()
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 19 Mar 2018 11:58:46 +0000 (12:58 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Mar 2018 14:34:07 +0000 (22:34 +0800)
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 <peer.adelt@hni.uni-paderborn.de>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20180319115846.9662-1-kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
scripts/decodetree.py

index 41301c84aa1ff76bda52c0378efbed7daede0d50..277f9a9bbaa19d6ea9e486a7fa953f512fb75236 100755 (executable)
@@ -972,6 +972,7 @@ def main():
     global input_file
     global insnwidth
     global insntype
+    global insnmask
 
     decode_function = 'decode'
     decode_scope = 'static '