Message ID | 20240304191337.3101411-3-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:48c8:0:b0:33e:474f:8c56 with SMTP id p8csp94309wrs; Mon, 4 Mar 2024 11:14:28 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXqJXhDsyNcIeN8FgOHo5P0i0+q6E1aKf3wIeIN6vX3sz+8KTH7MpjwSFzQR48kOJ3QLAyN7YL6if8YkA9pOXQ3 X-Google-Smtp-Source: AGHT+IGWppFdJ1FzqwEnMBIEWzBI83+U1d6J8uVkrjmN6lzozvLEBdL4KUPISYF/5q9FcYbE5OvH X-Received: by 2002:a0c:fba5:0:b0:690:6ca4:f231 with SMTP id m5-20020a0cfba5000000b006906ca4f231mr5116672qvp.30.1709579667869; Mon, 04 Mar 2024 11:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709579667; cv=none; d=google.com; s=arc-20160816; b=Ps+XjMONMZlrgoYHwZqJvfZ1WdrXVoCy5gOsotwDGLMOIP3P6vYNgbeb6qUY9xcHdy fdwsPVBGFtxh311IpBYEtzmG4JY1xbSFa0OyVPjMV79rEwExejr+UoLXn7LhaAj3BkC5 OI7akuX0QqJmyhNC+iHFVEHAExAoSsjauqp8+rw+eQLuuNU8xaK2dzz2rHUrLjCZAexn h3mWghgOLRhJ4RzFSATUh7/K+gr3OPEmPJ0TpIF8OsWEXKb2UIJv5zj2hIT5Babf3AUZ uQMgKuxmob5z4GD5Zm6c+ftEQk2YTgSkRlk5ibGSXlOAxxMM4QRAJMf+eGKw1fJb5qUQ Vleg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ffYxUIi2VesCW8E3hAaY86N1SXnFx+7CKtORz4AUgmU=; fh=b/fM3Azt1fJndKkBUw6/kyP4UN6WY/kGpFR2FNJIEXM=; b=CxCkhxYQL6qQdC/ZyS2F2CyKRrL0QEv2Xh5aJVmg61Yq5Kq9PNGCoil2KJaZY0xVYk xkCPqWJoN0p266T1CdD3jptjWB7IpzR06jV6cPmSyEad8DPMNNLO6dUK2qy6gqgRAS9a /qdA4HHXhXCUzFQLBiyT9Q4Q/h8e2r4I9X0VkFSlROdI5ltFbI1MvH/4VR+FuVO4vEZz DfiCQkFWy34lTTtpJE0n0v9PPNF7e4qq31JpNddHDNlPvCzPzO/EW3XPGdZsACOUrT/n pOyfKdC1GNKioqRq0usvZv6UrfDfwoD1ts1z/7SG9Zo/Dkl1EA1/Q6MY+x+L0Kkp287i IC7A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PmFDnmuV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p10-20020a05621421ea00b006900690c1bbsi10476215qvj.237.2024.03.04.11.14.27 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Mar 2024 11:14:27 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PmFDnmuV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rhDkw-0003A8-Mb; Mon, 04 Mar 2024 14:13:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1rhDkt-00039N-QA for qemu-devel@nongnu.org; Mon, 04 Mar 2024 14:13:43 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1rhDks-0001bM-Ad for qemu-devel@nongnu.org; Mon, 04 Mar 2024 14:13:43 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-412e90ef887so4755225e9.2 for <qemu-devel@nongnu.org>; Mon, 04 Mar 2024 11:13:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709579621; x=1710184421; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ffYxUIi2VesCW8E3hAaY86N1SXnFx+7CKtORz4AUgmU=; b=PmFDnmuV6pdVif8ImWmnSP8a85lP1gXCdoGZMgXNlJer/1/ZZBXIyS1xJUKQ+X/fkQ 3IXe7pB/k9om9Z75qW29S1QbkQKbF2Hy3qxfLe58SAe2uTCURFdpTGEfDuRfUOF/Bf96 ZRqwR5LBhRIxHw+9vLnt3NL9n5mkbM5p3RHI+zJWvFFj4K43ginE0AIPrno4jvUFkyRv 7Ou8nGUuUQCIHAxkeDD3PVq+WtDXau09WZDOXe600DkggYotwJAsdVCWssmI9O2+ZbmS bw0dA4s3nQbLZwKtZS1GMVV/Ej58ONg5x7L8EDuECdYIb5EviQcFSv0+Yw34thX3wjfe 4GXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709579621; x=1710184421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ffYxUIi2VesCW8E3hAaY86N1SXnFx+7CKtORz4AUgmU=; b=lajRY3vm0UbW3H+8FdCLsTzyp2z3Suok4HPIMlWW0p+cgx51h0rPsQTLyCj3uUMjF7 jeM6XjMbLK5iXFkx1DB7/qXgpiy54ecK1Qf3OZtYpCRMPPGlmZkryOZDqDgXH2c0Q4eE p2vnxtptSICPF6624UN3RqeJjJ7ooQF2HH1pxx9RUeTNA9HephqiJyCFsS+bKuMQ7klY eQh3Zw401TVtOhL6OGMM1yoWTcZ3mY03yg4A1ilJBKt97Qfjd4WOkeC1U8ZQH5keARz9 DVenh77BKoQqu9OXu9v06dn1UVZ/fTtdFj6qDwQdMHWEmb1vxbzHoftufaSE7t9wGfv4 +WjA== X-Gm-Message-State: AOJu0YyQKcKrmZB/9mAsH9nsUwpSMJipfdvAD25OuEU1gWXyOoUMR2AI u77f1m8xSI1xoDzoB5kH2rCKkz2wgIku8sjAcR1K7CqQvQ2Rc0lfY4iYaUcjuew= X-Received: by 2002:adf:f04e:0:b0:33d:deb8:8bab with SMTP id t14-20020adff04e000000b0033ddeb88babmr7694640wro.53.1709579620799; Mon, 04 Mar 2024 11:13:40 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a16-20020a5d53d0000000b0033de10c9efcsm12920753wrw.114.2024.03.04.11.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 11:13:38 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 4909C5F94F; Mon, 4 Mar 2024 19:13:37 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: Alistair Francis <Alistair.Francis@wdc.com>, Palmer Dabbelt <palmer@dabbelt.com>, Richard Henderson <richard.henderson@linaro.org>, qemu-riscv@nongnu.org, Song Gao <gaosong@loongson.cn>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Subject: [PATCH 2/4] disas/hppa: honour no_raw_bytes Date: Mon, 4 Mar 2024 19:13:35 +0000 Message-Id: <20240304191337.3101411-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240304191337.3101411-1-alex.bennee@linaro.org> References: <20240304191337.3101411-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series | Clean-up disassembler handling for plugins | expand |
diff --git a/disas/hppa.c b/disas/hppa.c index 22dce9b41bb..17e4f1ccdc6 100644 --- a/disas/hppa.c +++ b/disas/hppa.c @@ -1972,9 +1972,11 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) insn = bfd_getb32 (buffer); - info->fprintf_func(info->stream, " %02x %02x %02x %02x ", - (insn >> 24) & 0xff, (insn >> 16) & 0xff, - (insn >> 8) & 0xff, insn & 0xff); + if (!info->no_raw_bytes) { + info->fprintf_func(info->stream, " %02x %02x %02x %02x ", + (insn >> 24) & 0xff, (insn >> 16) & 0xff, + (insn >> 8) & 0xff, insn & 0xff); + } for (i = 0; i < NUMOPCODES; ++i) {
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- disas/hppa.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)