Message ID | 20231009164104.369749-18-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:574c:0:b0:31d:da82:a3b4 with SMTP id q12csp1313417wrw; Mon, 9 Oct 2023 09:48:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYG1rQ6zzk4WOEe/FkRBK3RxL3pMcKwnB1iWkwWPeUh0ihtw0jYcy6+dBlu9BbvlMGXpQk X-Received: by 2002:ac8:5981:0:b0:418:1194:42f6 with SMTP id e1-20020ac85981000000b00418119442f6mr19270359qte.31.1696870115954; Mon, 09 Oct 2023 09:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696870115; cv=none; d=google.com; s=arc-20160816; b=sRzwMk5Y4WTn/WaeGxT//WeDB9Thn9UxpGLs9Hm95ytlK0FYNg3iBU+dyvwvmQOBPz A78iFOG7IJxpyHIslBMUC2IGTWZP9t9TmUsYSlnbr0CveSiavKxbVbznE0QdXRw0zFe1 FaFDRBEsy/mYIS2QY8qp3kj0SpYi5Srvx+mAOosj6BBtzYed6/6CGlrH0gUFjaBNAvVc PJowMtp0vFGr7QxoVTdNVzUtyLqiRdwvqq+oXn/XGFHi1iC0muJGo11uwvjfe8wjZ9Da hdPtF0OLNFdMsF2+JAl4Shbua0uka+laNbw5aFIBX5Tw+WTy8wJ5WIYG9Fi+vrWJPuhH H5PA== 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=54vdWxoInkKQLiHeicKKqmeJW+RARqhkyr/iqwsF+dM=; fh=FL21b9FDJBPKO4Cw1gBqBPIr8gb5CEXpVKTgM6hLIl8=; b=Dx3NKy38zZ2fiNEBgYXmTxNaNcr+UlHc7RE5CLICHHUIeGuY6aCpJcct+Dl7HDo3eX jMZVbI0RB4yIbGYrYoBiIoSi8yCo5oGSemje8ej8tozCTQAUbfvL9kmTTIoFuSAY816T FAKjuKQvGjOC/DBHCR4gXmu1N1/1/WimVlvsc+rdThwMmBqvvW2r1VQBB5SbCRcraA96 FP3Uj1yOehFIG1N9L2nciLWjd2V2VHTym8q7CWCNBNIebJpR/XpDwGIV+1+ZvMR4QP0n B5fvT8YyjTTh11RM05DMmfpiEOuAONetPfq2+8XNGJc3DMm6Wg3hT41xPJIVTRyLREX4 CbHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gGSX6fyX; 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 e15-20020a05622a110f00b0041962bf1693si6500412qty.762.2023.10.09.09.48.35 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2023 09:48:35 -0700 (PDT) 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=gGSX6fyX; 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 1qptPR-0004R1-Hs; Mon, 09 Oct 2023 12:47:09 -0400 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 1qptP3-0003E6-Qd for qemu-devel@nongnu.org; Mon, 09 Oct 2023 12:46:55 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) 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 1qptOl-0003Z1-Cw for qemu-devel@nongnu.org; Mon, 09 Oct 2023 12:46:45 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-405361bb94eso48167275e9.0 for <qemu-devel@nongnu.org>; Mon, 09 Oct 2023 09:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696869976; x=1697474776; 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=54vdWxoInkKQLiHeicKKqmeJW+RARqhkyr/iqwsF+dM=; b=gGSX6fyXLKxe5f/lt/YRLEKujMia7z4hd7yRP9qwOd6O92V2nFQe/pOZardhizG+fb gLFcq3+gf8WVpdfaJqu8yTUnNYim8yiMHpIlGb7RwS8QZeb4lDtIcuCtTgptudtW7FKX OaQVfSP5RXdeA8+lgOK42PwEwPJCG5A4FctyVkO38A2TKxCJi9R4SDLq0WiQNVXM2XXF uUlkmaBox6OjZEv6zA5FMGgcpht1430EMCAWSDj+OLRWQVH/r1EEoqb1/KvPx4dtLHmV d68uHqEWwvlxQs/AcMGM2QEkByNR+4sNmlgDRevjG+NBWiwMULQ1NeKNYwY2EfRzmocZ aoxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696869976; x=1697474776; 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=54vdWxoInkKQLiHeicKKqmeJW+RARqhkyr/iqwsF+dM=; b=mTMl9vZxFBBoncKYGm05BGcwJv6UlHt3uPI3+sq7yiYLN2WuRu7eNhvks2P88udHpR 1RoJyE7o7J+YurIvJVKeVGTrYm41McNnG34MM9Rjk7zFEt1DhhdAmM4biZVdUGYzn8DI GqnSrJdTANZsPW4jb6DkprquGcAnMsp+qVmJZ9T6s+Y/aB4OqCHnxCB58dCnwzvd/7dH hBxOToiDueNKxkeA+xZVM0/bBdugPBRWIoDlMyhKEl4YA1DIz6MaHsc4TGo8xXVZJeSo ZYoUeHraw64ORNZC4jNCPonfmR7e7KnRKXVsOXtzeJjx6PvUi2Don7SsdYk17zL/GvHD 1cHw== X-Gm-Message-State: AOJu0YzTcpgVwSaIo55naUkMXT83k2zDmVlFu1ZSyGDni7r64VonNf/u QYlRAwDvEuShKJ3U+/J2w6zSTw== X-Received: by 2002:a05:6000:4d2:b0:322:dbe8:e18f with SMTP id h18-20020a05600004d200b00322dbe8e18fmr15952672wri.46.1696869976074; Mon, 09 Oct 2023 09:46:16 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id r18-20020adfe692000000b0031912c0ffebsm10119250wrm.23.2023.10.09.09.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 09:46:13 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2634E1FFC9; Mon, 9 Oct 2023 17:41:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: Thomas Huth <thuth@redhat.com>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>, =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= <alex.bennee@linaro.org>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Brad Smith <brad@comstyle.com>, Radoslaw Biernacki <rad@semihalf.com>, David Hildenbrand <david@redhat.com>, Cleber Rosa <crosa@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, qemu-riscv@nongnu.org, Daniel Henrique Barboza <danielhb413@gmail.com>, Alexandre Iooss <erdnaxe@crans.org>, Nicholas Piggin <npiggin@gmail.com>, Bin Meng <bin.meng@windriver.com>, Leif Lindholm <quic_llindhol@quicinc.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Alistair Francis <alistair.francis@wdc.com>, qemu-ppc@nongnu.org, John Snow <jsnow@redhat.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, qemu-arm@nongnu.org, Wainer dos Santos Moschetta <wainersm@redhat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Peter Maydell <peter.maydell@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Weiwei Li <liweiwei@iscas.ac.cn>, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Beraldo Leal <bleal@redhat.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Mahmoud Mandour <ma.mandourr@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Song Gao <gaosong@loongson.cn>, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>, qemu-s390x@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Akihiko Odaki <akihiko.odaki@daynix.com> Subject: [PATCH 17/25] target/ppc: Remove references to gdb_has_xml Date: Mon, 9 Oct 2023 17:40:56 +0100 Message-Id: <20231009164104.369749-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231009164104.369749-1-alex.bennee@linaro.org> References: <20231009164104.369749-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::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.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 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 |
October maintainer omnibus pre-PR (tests, gdbstub, plugins)
|
expand
|
diff --git a/target/ppc/gdbstub.c b/target/ppc/gdbstub.c index 778ef73bd7..ec5731e5d6 100644 --- a/target/ppc/gdbstub.c +++ b/target/ppc/gdbstub.c @@ -54,12 +54,6 @@ static int ppc_gdb_register_len(int n) case 0 ... 31: /* gprs */ return sizeof(target_ulong); - case 32 ... 63: - /* fprs */ - if (gdb_has_xml()) { - return 0; - } - return 8; case 66: /* cr */ case 69: @@ -74,12 +68,6 @@ static int ppc_gdb_register_len(int n) case 68: /* ctr */ return sizeof(target_ulong); - case 70: - /* fpscr */ - if (gdb_has_xml()) { - return 0; - } - return sizeof(target_ulong); default: return 0; } @@ -132,9 +120,6 @@ int ppc_cpu_gdb_read_register(CPUState *cs, GByteArray *buf, int n) if (n < 32) { /* gprs */ gdb_get_regl(buf, env->gpr[n]); - } else if (n < 64) { - /* fprs */ - gdb_get_reg64(buf, *cpu_fpr_ptr(env, n - 32)); } else { switch (n) { case 64: @@ -158,9 +143,6 @@ int ppc_cpu_gdb_read_register(CPUState *cs, GByteArray *buf, int n) case 69: gdb_get_reg32(buf, cpu_read_xer(env)); break; - case 70: - gdb_get_reg32(buf, env->fpscr); - break; } } mem_buf = buf->data + buf->len - r;