Received: from eggs.gnu.org ([2001:4830:134:3::10]:48528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0TPW-0005Sv-F6 for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0TPV-0004jz-LF for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:46 -0400 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]:42800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0TPV-0004jT-Er for qemu-devel@nongnu.org; Mon, 26 Mar 2018 10:47:45 -0400 Received: by mail-pl0-x241.google.com with SMTP id g20-v6so797029plo.9 for ; Mon, 26 Mar 2018 07:47:45 -0700 (PDT) From: Richard Henderson Date: Mon, 26 Mar 2018 22:47:30 +0800 Message-Id: <20180326144730.6351-2-richard.henderson@linaro.org> In-Reply-To: <20180326144730.6351-1-richard.henderson@linaro.org> References: <20180326144730.6351-1-richard.henderson@linaro.org> Subject: [Qemu-devel] [PULL 1/1] scripts/decodetree: Fix insnmask not marked as global in main() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Bastian Koppelmann , Peer Adelt From: Bastian Koppelmann 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(+) 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