From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1extRO-0006oY-Nn for qemu-devel@nongnu.org; Mon, 19 Mar 2018 07:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1extRM-0004it-7W for qemu-devel@nongnu.org; Mon, 19 Mar 2018 07:59:02 -0400 Received: from mail.uni-paderborn.de ([131.234.142.9]:40784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1extRM-0004gm-12 for qemu-devel@nongnu.org; Mon, 19 Mar 2018 07:59:00 -0400 From: Bastian Koppelmann Date: Mon, 19 Mar 2018 12:58:46 +0100 Message-Id: <20180319115846.9662-1-kbastian@mail.uni-paderborn.de> Subject: [Qemu-devel] [PATCH] 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: richard.henderson@linaro.org, peter.maydell@linaro.org, Peer Adelt 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 --- 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.16.2