From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WCw7DvWCQGii8QAAWB0awg (envelope-from ) for ; Wed, 04 Jun 2025 13:31:33 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Dcc+Tru6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 357B11E102; Wed, 4 Jun 2025 13:31:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE autolearn=unavailable autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C57141E0C2 for ; Wed, 4 Jun 2025 13:31:32 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6B3DE3858294 for ; Wed, 4 Jun 2025 17:31:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B3DE3858294 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Dcc+Tru6 Received: from mail-oa1-x41.google.com (mail-oa1-x41.google.com [IPv6:2001:4860:4864:20::41]) by sourceware.org (Postfix) with ESMTPS id DDAE93858424 for ; Wed, 4 Jun 2025 17:29:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DDAE93858424 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DDAE93858424 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::41 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749058177; cv=none; b=MHE1B7wpGAwS2IQSyxXbdmsSLtAgA+04XAfeR6XG5n95RsTCfm5ybRHXAzfB7HUQDMYPQ0w6qHcQVt//PXbmWNEo1O8EUUckFG3HWukcceb0wK0P/hxb1ZF2O8Rc/u/1mB1DUhH84m8jtaQgkkW8oaCkDeS+xK7TQjXF0s5aVXU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749058177; c=relaxed/simple; bh=CU/tB3Rn23Y2JdmQLCa9E60q88h/dmAIyCmm4zSWxx4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=M/BCm8aDuMrcqLgxfmTJ/6JVDdl/cf/Un35Ndo8Oh4i2ixLP0KFjgCMvIkkZIYokHe/9QG3b3G7/d5xNoMRTk2oDHpjeTseERwkmbJjGuVDhwDTDJiurYsxxQVXrT4WzfU6i6xB7+ZE1RcZy3SoNnMcuv+iNKH1AaSwcfOS3hYI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x41.google.com with SMTP id 586e51a60fabf-2e404edf6b3so101002fac.1 for ; Wed, 04 Jun 2025 10:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749058177; x=1749662977; darn=sourceware.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=eHbYG61eaM2U2whepARcd9JdO2g66UJv49tUiEYHrU0=; b=Dcc+Tru66hzBjhj+22KnhlhZ4PY9uoPKW8fstrJp44HeXrOmmRzUZYg4yWsz+YqCOV rZdHDpwdRjY0bUSwq4v8RZGVm+IzMmVgarC+YXAy2FpX/HdxnyimMLFwggglQ/dXeLTz 2V4qJrjYoPNnJg8UBB/TjM7Prud2Gcu+Pkw8RC7Vie91+J3rIy14O4WMnwGGs4AbBHbt jDmCbAH7HB/GpcbGsjIEa5c/TqL6cblwKxjnUUNEPGgaE4WEuMMuWkB/Bs7jF4ITwV0R s6kXyCFRXJJwz/v6Hv07fUt3WrRLFHwFwfTRWMoxrUgxnUvW/HDMJjq2uiB9iaccVaX4 ajiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749058177; x=1749662977; h=content-transfer-encoding:in-reply-to:autocrypt:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eHbYG61eaM2U2whepARcd9JdO2g66UJv49tUiEYHrU0=; b=cvdozctiu+eNp+6Fg6b2CGzhfeaauBHvwB3PXfjBXj6+X4NQSJi5s/vqgN6PfX8K5s cXdtOYkVrwb19hNAOdU48/GHC2kcT2Yl0Ge8hyf+sZzw4dIVzUwvVi/Mvk1XcYoTaJ8s xLnDIHX2VG5lm+/xG6QAu+n0B4Sddqym+x6tGfMn7ai7wyagf0ECVpWMVO5uq97SoiFE QD95fEZlCk/xz/Z4wa7i1/clMdP7BEc0IH1RpvN4u227Co6ZIFwbYEmNxn1ZZ701S4LE OBD2Xk2djv1AA/gfum4fXPx4Q0F6raOo/Frv2PfyyM9Hc3cBMZ1ut7PHSs7ziaBaCKsl AEUg== X-Forwarded-Encrypted: i=1; AJvYcCVsyL18M3ZYsyeuVY8Y4XZm8gIAIKDIPsEhmZQrlbBXqzpMJYfnKvDlZvcjqnXEq8LYH8veQIawgDprqA==@sourceware.org X-Gm-Message-State: AOJu0YwbSeWpUbQ05X8ba5tGKp2cGJvzRWpBZDc5KV0rhLKTYQusHM29 hXYpP4/XLIyrKV3hmzMvUiOnB6l5ovbgvZ0b2eDprY5Weh503M5lo+haio68SOBH X-Gm-Gg: ASbGncsKMLrSjwy0zHq7TZF58qFGTj5bYay8VjCSujVANjrmdPx9g+/75MaGUHhPFVW kC87GvX/+fVowkbHaeihG47flnJdXSvY+Zt6UYibJgBc+zI+1NaGeJa5L5go2Cp0LRPqHdSD6mm LLpDg1L/kFAOUc/j/rOdPmOj6Echw194itBXWnq/8Td1FtK2DUYG0btvUqMblVH1LzMuBYEsvnk Y20xpPr3UNpNMopgmfcB278UnboTKunZXYxMqx/raVcF9Dynle2txHI44zV5j/C1inzyKTw0l8E YWlw3KTNxrG1Oyht3wPPdvN2E6yGCdrnUSDfnv2gujQi0a72TsH4 X-Google-Smtp-Source: AGHT+IHL0x1tV4m376V5Nvl5qmYT/Va+tQYGnqWisLROa+Ydgj432YgFTWw4hG6UXmb+6zGRaZ/Uqg== X-Received: by 2002:a05:6870:b10:b0:2d5:ba2d:80e4 with SMTP id 586e51a60fabf-2e9bf4c5d79mr2488307fac.24.1749058176908; Wed, 04 Jun 2025 10:29:36 -0700 (PDT) Received: from [10.2.0.2] ([89.187.185.165]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2e906461452sm2741091fac.8.2025.06.04.10.29.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jun 2025 10:29:36 -0700 (PDT) Message-ID: <3ef4c598-28d8-4c66-844d-58e5629415ab@gmail.com> Date: Wed, 4 Jun 2025 12:29:34 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] gdb/alpha: Add target description support To: "Maciej W. Rozycki" References: <20250526151219.399450-1-yodel.eldar@gmail.com> <20250526151219.399450-2-yodel.eldar@gmail.com> <55cdf445-fee8-4e70-99c0-6d42eb68cd7d@simark.ca> <9feb7348-1dde-40cc-b21d-97671b8b3e39@gmail.com> Content-Language: en-US Cc: Simon Marchi , gdb-patches@sourceware.org, Yodel Eldar From: Yodel Eldar Autocrypt: addr=yodel.eldar@gmail.com; keydata= xjMEZxqXdhYJKwYBBAHaRw8BAQdAkletQdG3CLyANZyuf2t7Z9PK4b6HiT+DdSPUB2mHzmPN N1lvZGVsIEVsZGFyIChZb2RlbCBPcGVuUEdQIGtleSkgPHlvZGVsLmVsZGFyQGdtYWlsLmNv bT7ClgQTFggAPgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBNPNGM1AbbuKZqn435Xu T7c2ZU2sBQJnI9xJBQkB6nhTAAoJEJXuT7c2ZU2sSQABANuu74MJKexa8V8kVNLhw68loN4x 2ZbojcfUOWd8Pf5HAQDn1XxmQFPMIUYahlXMMrwRyQE1m6HjtrolOELICzwxDM44BGcal3YS CisGAQQBl1UBBQEBB0Ao8jLdb8MoWybV77fXOiqY5jSmrPy+MgzzjrAzqURjZAMBCAfCfgQY FggAJgIbDBYhBNPNGM1AbbuKZqn435XuT7c2ZU2sBQJnI9wMBQkB6ngWAAoJEJXuT7c2ZU2s BlUA/0ZfDDmzKdC1khPMaRIv/gWedFd5Z8jWqh0rswF2LyeNAQD6PjBgliBhL1xTto+juM1b jctqRusjtyMyzG8/ps2iDQ== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 6/4/25 9:49 AM, Maciej W. Rozycki wrote: > On Wed, 4 Jun 2025, Yodel Eldar wrote: > >>> Do we need to call tdesc_numbered_register for the register whose name >>> is ""? I suppose that we do, for backwards compatibility, when >>> debugging against a remote target that doesn't send a target >>> description? >> Hi Simon and thanks for your time and question! I think we do, because >> (IIUC) suppose an older remote target responds to, say, a 'p n' packet, >> but the anonymous register is unaccounted for by the client, wouldn't >> that break compatibility? Can't say for certain, so I defer to your and >> the community's wisdom and err on the side of caution as I investigate >> it. > Are there any remote Alpha targets there in the first place? > > I only have writing Alpha/Linux gdbserver on my todo list once I'm done > with the more urgent Alpha stuff (Linux kernel EV4 support restoration, > GCC LRA conversion) and I haven't heard of any other Alpha GDB RSP debug > stub either. There *might* be something in QEMU; I guess that'd be the > only place to check. > > Maciej > Maciej, you hit the nail on the head! Indeed, QEMU is the project I alluded to in the cover letter for the patch, and I have been using it for testing throughout the development of the patch. It also provided the impetus to write the target description for Alpha in the first place as it uses them for its execlog plugin. Thanks for taking the time to reply despite having more pressing Alpha tasks. I will keep an eye out for your forthcoming submissions, and provide my modest feedback if it's helpful. Yodel