From nobody Thu Dec 18 06:16:21 2025 Delivered-To: importer@patchew.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=quyllur.org ARC-Seal: i=1; a=rsa-sha256; t=1752241881; cv=none; d=zohomail.com; s=zohoarc; b=ipd7LMSg4zOPXHOnpb30y7CnH3Jf4qzI4c+SWJKUyNKmKkiin8eh5fLwykixEokkmbsNjbtMGLRlJnGic+TTwalwwUwqqS5iPp4oHPU6Ldc3XmEIWqVolPC8vaTTa/KUu0ZGJbPVK6lizH8HndoUfyxHtfKk+hFBlQpdvDIESr0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1752241881; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OmusykJLTDFLWF8yrH0exnTmjQXOPUCtqRNNh1BONQA=; b=br6UsRMyCvoihhO+wggCa48dIU7i8BK+1LYHvuizps8WRhNF14eCSMCEJJhM59WF+KsMc+ObZUFUMWTq8CjPcJd/E8iz+IhH5bnvjNLpXOtsO3PnU7g0Bb+eVGzjM5Hcnsp1/gwJTgq/axNth0DuXYnidzGRda9M/MM1R1jV03o= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1752241881284865.4656438609451; Fri, 11 Jul 2025 06:51:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uaE9D-0005oA-6e; Fri, 11 Jul 2025 09:50:43 -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 ) id 1uaE3o-00034q-BB for qemu-devel@nongnu.org; Fri, 11 Jul 2025 09:45:13 -0400 Received: from quyllur.org ([185.247.226.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1uaE3i-0000GF-AO for qemu-devel@nongnu.org; Fri, 11 Jul 2025 09:45:06 -0400 Received: from quyllur.org (localhost [127.0.0.1]) by quyllur.org (OpenSMTPD) with ESMTP id 484662b3; Fri, 11 Jul 2025 16:44:25 +0300 (EEST) Received: from Rizin ( [194.127.199.111]) by quyllur.org (OpenSMTPD) with ESMTPSA id 6e5a0977 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 11 Jul 2025 16:44:22 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=quyllur.org; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkimselector; bh=0rawVHz7ga8LGrdwJ RcO9DN7tng=; b=YEEkX5i4E0NjPiwuqCFoIj6Cs401+vK9PqcP6HJKw5RCvsEhs Zy5O+axfNJkCBoFVNcjc8ngLU+VT0Ae7a1AzKBTW/P5fNN5CehBr12z27OUafv15 a0ENvB4/9EHo7qiZlZ7YUqU3WmHU1n1N4m+pRYvxaxOaswCJHzFSoKzc8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=quyllur.org; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=dkimselector; b=jypiv2vSbes XBujSaWCuTLH+OSZhHSRm8sWAXBPOEUqc7YZrEwnysQB2ivWDOEe/sfTmCCJO+Ba I8qL9BzA/jmziqFKtUjiz79evBL9/h8lsKHNUcapqCuq0jD9mIzjoMlGypjgQ+TL nO/EkWBq+E1CXxX9OxClw8S4YRD0DrIQ= From: unisono@quyllur.org To: alex.bennee@linaro.org Cc: atar4qemu@gmail.com, laurent@vivier.eu, mark.cave-ayland@ilande.co.uk, philmd@linaro.org, qemu-devel@nongnu.org, Rot127 Subject: [PATCH 1/3] Adds the GDB register XML files for Sparc64. Date: Fri, 11 Jul 2025 08:43:31 -0500 Message-ID: <20250711134333.56978-2-unisono@quyllur.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250711134333.56978-1-unisono@quyllur.org> References: <87h5zltojx.fsf@draig.linaro.org> <20250711134333.56978-1-unisono@quyllur.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=185.247.226.42; envelope-from=unisono@quyllur.org; helo=quyllur.org X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SORTED_RECIPS=2.499, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @quyllur.org) X-ZM-MESSAGEID: 1752241883849116600 Content-Type: text/plain; charset="utf-8" From: Rot127 Commit 1/3 Signed-off-by: Rot127 --- configs/targets/sparc64-linux-user.mak | 1 + configs/targets/sparc64-softmmu.mak | 1 + gdb-xml/sparc64-core.xml | 99 ++++++++++++++++++++++++++ target/sparc/cpu.c | 1 + 4 files changed, 102 insertions(+) create mode 100644 gdb-xml/sparc64-core.xml diff --git a/configs/targets/sparc64-linux-user.mak b/configs/targets/sparc= 64-linux-user.mak index 64ea04e3e2..7c2ecb7be0 100644 --- a/configs/targets/sparc64-linux-user.mak +++ b/configs/targets/sparc64-linux-user.mak @@ -4,4 +4,5 @@ TARGET_ABI_DIR=3Dsparc TARGET_SYSTBL_ABI=3Dcommon,64 TARGET_SYSTBL=3Dsyscall.tbl TARGET_BIG_ENDIAN=3Dy +TARGET_XML_FILES=3Dgdb-xml/sparc64-core.xml TARGET_LONG_BITS=3D64 diff --git a/configs/targets/sparc64-softmmu.mak b/configs/targets/sparc64-= softmmu.mak index 2504e31ae3..d9d51d21e5 100644 --- a/configs/targets/sparc64-softmmu.mak +++ b/configs/targets/sparc64-softmmu.mak @@ -1,4 +1,5 @@ TARGET_ARCH=3Dsparc64 TARGET_BASE_ARCH=3Dsparc TARGET_BIG_ENDIAN=3Dy +TARGET_XML_FILES=3Dgdb-xml/sparc64-core.xml TARGET_LONG_BITS=3D64 diff --git a/gdb-xml/sparc64-core.xml b/gdb-xml/sparc64-core.xml new file mode 100644 index 0000000000..375b9bb0cc --- /dev/null +++ b/gdb-xml/sparc64-core.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index ed7701b02f..245caf2de0 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -1090,6 +1090,7 @@ static void sparc_cpu_class_init(ObjectClass *oc, con= st void *data) cc->disas_set_info =3D cpu_sparc_disas_set_info; =20 #if defined(TARGET_SPARC64) && !defined(TARGET_ABI32) + cc->gdb_core_xml_file =3D "sparc64-core.xml"; cc->gdb_num_core_regs =3D 86; #else cc->gdb_num_core_regs =3D 72; --=20 2.50.0