From nobody Fri Nov 14 06:38:54 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1585838414; cv=none; d=zohomail.com; s=zohoarc; b=mNI8yY/PjDtG1pEwecM1azrGNzKNOBbfY5+EJpIml1XKd2ncTek2vIodluSBF7KT2VxXquniP/a2DhwoWVrgn2+MtZ9JDdNQeYauqfEIMKnaANltDX/2j1EMI6LzpVfDmSbyk/rznMcEgZ6M9CY+3lpxBIKLiq/Hghr8nMDoG7s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585838414; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=83ZRYjP7Cso8kfe2/ahqnYSn4mXDEL4qszyd16y6VQc=; b=B344f7s0nEHRuoYRBtUevlN2cRCfWvpUDvUqjCWtrDsNZwtXOtX0sW3nGHk7Eema/2mX2c+CENskeQ2cFWaiaI2P3ZdNn9wCuU7Byx2TbbrMhSRxvdGPBctDI5kfRsCf4DlXTPBOQd7qfw5KmlpLF3DouuHCWGuHMxirdNGiK5Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1585838414400249.17716812447418; Thu, 2 Apr 2020 07:40:14 -0700 (PDT) Received: from localhost ([::1]:41244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK10v-0005wp-1H for importer@patchew.org; Thu, 02 Apr 2020 10:40:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35239) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK105-0005Pf-Ei for qemu-devel@nongnu.org; Thu, 02 Apr 2020 10:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK104-0005eJ-7z for qemu-devel@nongnu.org; Thu, 02 Apr 2020 10:39:21 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:50723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jK103-0005bG-Ru for qemu-devel@nongnu.org; Thu, 02 Apr 2020 10:39:20 -0400 Received: by mail-wm1-x342.google.com with SMTP id t128so3673790wma.0 for ; Thu, 02 Apr 2020 07:39:19 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u22sm7540146wmu.43.2020.04.02.07.39.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 07:39:17 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 70C6F1FF7E; Thu, 2 Apr 2020 15:39:16 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=83ZRYjP7Cso8kfe2/ahqnYSn4mXDEL4qszyd16y6VQc=; b=GejGCJsRn2IjQc6ueAWhqhiy0pPpIU/ggReu3leNCjgcO2xcku0wQbEkN8B8lyziN+ SqvAWIO9J0HL77V7j1QkM2w9Fag8O2S/rmvddlZL+IKuqbXagemdDFdCsPTXjxQx8zVb LLydpQ7eTNmSNAy5gG8TzwP+NKE3/sskb4XY6hclOg6pfM1WFTwoIFssuJxPsTg3ymZP gAG4Fz81f2o+ajkb6fv4CvygP1NwHMFSbNGZpMnkBock1FoiTeXs+BHZ4TpJqO2xsaim u48xSXfvgmd6ppHI8E8DjfYrA2+x0brG3mK3PEtHnn+JCsJnJKzn0ac9hE+voLq/MjuL x4NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=83ZRYjP7Cso8kfe2/ahqnYSn4mXDEL4qszyd16y6VQc=; b=fdY2OQrAq7A4yjZ1Zs4+Zh9eaWznxv+pmvioY1FjOygnR30blwqCD6ynJZgW95HGIp oyVt3i9S0FIXVvcA2zon3uP3qYsUViXYxeUbBXLpCIQg9E1SVTVyIvHJ2ppUt7lwU4L4 wO5GikCoV6J7mgQBobZiiIg0qhll4RmGu/hhdINv0GiFwNc9gY13SXTbyCji1JihwoBG DQFKCY5knocVUpITjW5CWCw0y4JpwuVyoJeeukfnLqhbvh35YMMkS4IFeptfuUhpuJdz VofG4xdiRZmXcXBmZpiFIkOniEiQvbt3/Z4hYU8a9BrGncYRvmGII32NCWrL7BEu3g5o X6GQ== X-Gm-Message-State: AGi0PubJeevS5gPK7xMQd1tdsSkINx9YKgrYrtOMiUNOG9Dw5J26Edti 4P7eGPpmNyOJN9ow6wV+mYb96w== X-Google-Smtp-Source: APiQypJQl2vNfKmHxXEeZmT4kL6PlGmIPpmUNq+tpj/4vsqf51y0C0pRFQ6tDh1figv9lnvNMMP7sA== X-Received: by 2002:a1c:99d3:: with SMTP id b202mr3904122wme.170.1585838358264; Thu, 02 Apr 2020 07:39:18 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Subject: [PATCH] target/arm: don't expose "ieee_half" via gdbstub Date: Thu, 2 Apr 2020 15:39:13 +0100 Message-Id: <20200402143913.24005-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) While support for parsing ieee_half in the XML description was added to gdb in 2019 (a6d0f249) there is no easy way for the gdbstub to know if the gdb end will understand it. Disable it for now and allow older gdbs to successfully connect to the default -cpu max SVE enabled QEMUs. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- target/arm/gdbstub.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/arm/gdbstub.c b/target/arm/gdbstub.c index d9ef7d2187c..8efc535f2a0 100644 --- a/target/arm/gdbstub.c +++ b/target/arm/gdbstub.c @@ -192,7 +192,12 @@ static const struct TypeSize vec_lanes[] =3D { /* 16 bit */ { "uint16", 16, 'h', 'u' }, { "int16", 16, 'h', 's' }, - { "ieee_half", 16, 'h', 'f' }, + /* + * TODO: currently there is no reliable way of telling + * if the remote gdb actually understands ieee_half so + * we don't expose it in the target description for now. + * { "ieee_half", 16, 'h', 'f' }, + */ /* bytes */ { "uint8", 8, 'b', 'u' }, { "int8", 8, 'b', 's' }, --=20 2.20.1