From 83d7c40c92cdfb1cd2d5d31f4539b22dc17fbcce Mon Sep 17 00:00:00 2001 From: Bastian Koppelmann Date: Mon, 19 Mar 2018 12:58:46 +0100 Subject: scripts/decodetree: Fix insnmask not marked as global in main() 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 Signed-off-by: Bastian Koppelmann Message-Id: <20180319115846.9662-1-kbastian@mail.uni-paderborn.de> Reviewed-by: Richard Henderson Signed-off-by: Richard Henderson --- scripts/decodetree.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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 ' -- cgit v1.2.3