]> Git Repo - qemu.git/commitdiff
scripts/decodetree: Fix insnmask not marked as global in main()
authorBastian Koppelmann <[email protected]>
Mon, 19 Mar 2018 11:58:46 +0000 (12:58 +0100)
committerRichard Henderson <[email protected]>
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 <[email protected]>
Signed-off-by: Bastian Koppelmann <[email protected]>
Message-Id: <20180319115846[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
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 '
This page took 0.026864 seconds and 4 git commands to generate.