From nobody Mon Feb 9 08:10:37 2026 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1751057437; cv=none; d=zohomail.com; s=zohoarc; b=kOD1taRjxtuJjhqzCG6h421OJQT5GGgPbAApjZgc5HtSVXyB0J1vnshku9Tj3sodY6kl41Caaj10Z/EsS4xNXVUeIiSlW9HCBf67RaX/yA+wWeCs5+ePFE7/9dKp4efKtWuyYRC2RmPGuDIElDZenuGJyaohdKd87vYx1CY0CmY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1751057437; 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=IRA6rRpCVkVHC2ngaHExUsJHfJMtW4xYFGdZQheK8+M=; b=ZTa0Jma7cJAL+kfGLIQfaWbbFNlXBzqEXqkdSIJQi+pp8oeYInu8xHKU/wgrisdK+skM4zCuKodGnRBiEF+5XIklgsiJL7Vyr1E365mGAa/cNSa2yx4U4V12rAN1KLKaKJjFzTmbinoR1KWd0BW9W5azY6C2SWH5ByiNlDe/9Rk= 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 1751057437429213.11918971728335; Fri, 27 Jun 2025 13:50:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uVG1J-0005MU-S2; Fri, 27 Jun 2025 16:50:01 -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 1uVG1I-0005LB-Ey for qemu-devel@nongnu.org; Fri, 27 Jun 2025 16:50:00 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uVG1F-0005H6-40 for qemu-devel@nongnu.org; Fri, 27 Jun 2025 16:50:00 -0400 Received: by mail-pf1-x442.google.com with SMTP id d2e1a72fcca58-74801bc6dc5so2873727b3a.1 for ; Fri, 27 Jun 2025 13:49:56 -0700 (PDT) Received: from darlin ([89.187.185.165]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74af557b3bcsm2977538b3a.101.2025.06.27.13.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jun 2025 13:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751057396; x=1751662196; 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=IRA6rRpCVkVHC2ngaHExUsJHfJMtW4xYFGdZQheK8+M=; b=DGnWSp23M7xplASN1Cw1NnSf8TSMYvtNlpXhIU+/C1J/kSRYAlAhx74NyYWT7QcYmv wBUHchODgaIG7/QbgMPGTAUOI0fkAJ2McDiYUaXzU+XVALAarrZv98AVUBFFuNaeFcJy 2ImuNnHQ4DRXYXMsoqrTOnIGWytM1nDWHA3EHirJlCiX9OSYF8KEAdyWweWuFGJ3jWNR H9Vx+eaXbmIed49mXpcAgWQdZUUSgaZaOEtjE6TySCW8TzwgZH+SczngirrQ/+6ixuD/ 4HKrHcQC41pya0/Kk7Jlhah8DoRYPFfLX8V16JAenUtHzUGBDIFOzBnhy4rFRoeKuDRL oSKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751057396; x=1751662196; 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=IRA6rRpCVkVHC2ngaHExUsJHfJMtW4xYFGdZQheK8+M=; b=GgXxS7JqqRp63CW2NHmtEir+L8/GnXU2p+Gtoeog3TTa+hWE8YLGNL91HA9728Jzti XoQyKUEZ1GpWAi8+MOvC+wxXD41ZgNosE3mPJ8+ybu6kf9TnLa6ieb55WZYPCUU20SHV FR7WQgpDOeNTlRCQ+zid42qf5A+/jEnsXiDzFCGQx1BpALcMj1VbQI10tJKEWtAJd+0p 2lnuZAKF1NB6Cflc2MDxjvrB0UGSZKPZ2u92FAp2Jp/ECdugQUAik8AevglPCQU0Tojb FviTEdoYruoePrGP0jzyt6v1EVh5vgINBsy3xFYL13Cj4M0s9F1AQf0OR9HDdDavbLqf XV+Q== X-Gm-Message-State: AOJu0Yz1O8fJofWLjnViVmzC1LVyYKqJ/cfi41QEic5hxojwCjE39xpe kI06dyNNsGTE+lu6fr41GPZ1G3ae3oY3PMvbmq5Pmd51IwKMO75xeQ27ThoVhsqc X-Gm-Gg: ASbGncsJQrEbBkrQRRKEgwnBGmW1Cu7UENLsv/+B7Bn6+L7fkyuoWRzD1yRSGv0wIr3 oBPrCtZ6JoMWg1TqGniiSpRYF29u+zfRevXa+BHhtUh5foQD0EUJjg9HOR5w47OxOCTRpEINetz yQ+5lQeXkXrqvhs9KtFvOjK4Lfm7NBpfH7sXeD+AukkdcEuRlOPyHkIcfShpuHRJqXLGuY6+LXF yjan54FoL3bDelNt+aD+WmKEELT7UurgwD1jj7xC/qfVzUaixEKx0qc0qTq2PiWJqxiIWRlf5NW gn/mboRpV661vGG68gOGWIUlP4sm8wFdAr/6QdxA0w3xxMJsTdf3kG0L+Q== X-Google-Smtp-Source: AGHT+IHVYeFX+Wqx0Kpi6bQkUKCMLPXJh3wcgy2XKm2oYqSjVd/Ct4BZIOT0DToOYojrTHZg/8hILg== X-Received: by 2002:a05:6a00:10d5:b0:746:25d1:b712 with SMTP id d2e1a72fcca58-74af7ace890mr6132145b3a.7.1751057395618; Fri, 27 Jun 2025 13:49:55 -0700 (PDT) From: Yodel Eldar To: qemu-devel@nongnu.org Cc: alex.bennee@linaro.org, richard.henderson@linaro.org, laurent@vivier.eu, Yodel Eldar Subject: [PATCH 2/2] target/alpha: Add GDB XML feature file Date: Fri, 27 Jun 2025 15:47:59 -0500 Message-ID: <20250627204817.47595-3-yodel.eldar@gmail.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250627204817.47595-1-yodel.eldar@gmail.com> References: <20250627204817.47595-1-yodel.eldar@gmail.com> 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=2607:f8b0:4864:20::442; envelope-from=yodel.eldar@gmail.com; helo=mail-pf1-x442.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, FREEMAIL_FROM=0.001, 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: 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 @gmail.com) X-ZM-MESSAGEID: 1751057438370116600 Content-Type: text/plain; charset="utf-8" This patch adds the GDB XML feature file that describes Alpha's core registers. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2569 Signed-off-by: Yodel Eldar Reviewed-by: Richard Henderson --- configs/targets/alpha-linux-user.mak | 1 + configs/targets/alpha-softmmu.mak | 1 + gdb-xml/alpha-core.xml | 136 +++++++++++++++++++++++++++ target/alpha/cpu.c | 1 + 4 files changed, 139 insertions(+) create mode 100644 gdb-xml/alpha-core.xml diff --git a/configs/targets/alpha-linux-user.mak b/configs/targets/alpha-l= inux-user.mak index ef8e365b09..aa25766236 100644 --- a/configs/targets/alpha-linux-user.mak +++ b/configs/targets/alpha-linux-user.mak @@ -2,3 +2,4 @@ TARGET_ARCH=3Dalpha TARGET_SYSTBL_ABI=3Dcommon TARGET_SYSTBL=3Dsyscall.tbl TARGET_LONG_BITS=3D64 +TARGET_XML_FILES=3D gdb-xml/alpha-core.xml diff --git a/configs/targets/alpha-softmmu.mak b/configs/targets/alpha-soft= mmu.mak index 5275076e50..e31f059a52 100644 --- a/configs/targets/alpha-softmmu.mak +++ b/configs/targets/alpha-softmmu.mak @@ -1,2 +1,3 @@ TARGET_ARCH=3Dalpha TARGET_LONG_BITS=3D64 +TARGET_XML_FILES=3D gdb-xml/alpha-core.xml diff --git a/gdb-xml/alpha-core.xml b/gdb-xml/alpha-core.xml new file mode 100644 index 0000000000..c9e12f4ffd --- /dev/null +++ b/gdb-xml/alpha-core.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index 2082db45ea..bf1787a69d 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -286,6 +286,7 @@ static void alpha_cpu_class_init(ObjectClass *oc, const= void *data) cc->get_pc =3D alpha_cpu_get_pc; cc->gdb_read_register =3D alpha_cpu_gdb_read_register; cc->gdb_write_register =3D alpha_cpu_gdb_write_register; + cc->gdb_core_xml_file =3D "alpha-core.xml"; #ifndef CONFIG_USER_ONLY dc->vmsd =3D &vmstate_alpha_cpu; cc->sysemu_ops =3D &alpha_sysemu_ops; --=20 2.50.0