From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id SDXSMt+bhmdpAA8AWB0awg (envelope-from ) for ; Tue, 14 Jan 2025 12:16:15 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=USqQB4Vy; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CC3011E100; Tue, 14 Jan 2025 12:16:15 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.0 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 7641A1E05C for ; Tue, 14 Jan 2025 12:16:15 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 28262385B805 for ; Tue, 14 Jan 2025 17:16:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28262385B805 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=USqQB4Vy Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id 3A0AF385B801 for ; Tue, 14 Jan 2025 17:15:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3A0AF385B801 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3A0AF385B801 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736874920; cv=none; b=DeWNJJQkoxCQwZWmDdhN2NJpig1NLtWABPkRA8yb++Bq9cj9aIk8Z/kP5Cc1pH+JcDEvk8nOaQeSwSE/e0PuviDzFEjv3ywQfoIYBaunaCkGNrWbaY21xxjGc8F5YlJjSuY7Iy3SiD6dh+TnUNiw01Vd8YqhbKJubJYsSf/ooMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736874920; c=relaxed/simple; bh=xNNypnHIRUmW94qO6XUvCjfu2J2r29XYgUmT2h3n2Dw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=EHMtRoadFeG8tfuxP0uun7GsNjskAyOuDVMI3ijlXmQX20LJJ5t7kc74oHCfaOzMZtcZVEUJea3sf99vHkCJSOlwH2rBSZLHvam0wuNVweFfvQjGe10auPxNXAUXthUdQ1ACfE8zRlb0H6v/YxSosCnDukLLF9yBFCOwBICCkSk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A0AF385B801 Received: from eig-obgw-5003a.ext.cloudfilter.net ([10.0.29.159]) by cmsmtp with ESMTPS id XiV3tO3x3dz4NXkVctqLDe; Tue, 14 Jan 2025 17:15:20 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id XkVbtFoXhR8eWXkVbtl5Xw; Tue, 14 Jan 2025 17:15:19 +0000 X-Authority-Analysis: v=2.4 cv=cfgZrWDM c=1 sm=1 tr=0 ts=67869ba7 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdSt8ZQiCzkA:10 a=ItBw4LHWJt0A:10 a=CCpqsmhAAAAA:8 a=EBjwv9rErsWPzZH6edMA:9 a=ul9cdbp4aOFLsgKbc677:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vdDS5VgFaBSo5PaMKhueefOcShbcz5zvoRRySYA12hk=; b=USqQB4VyGXHjRGZcUJtSgnRXSB qCoRdDI191/wKnUjF6hb6cutWocBzR7C+wU0iL8sIp2r9rzBoac+NlgpF8ln/ESXwezHVEnLFkUlS s40vQcqGcIBEGBF7VOgJ5UshJ; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:41008 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tXkVa-000J6F-10; Tue, 14 Jan 2025 10:15:18 -0700 From: Tom Tromey To: Luis Machado via Gdb Cc: Stephen Brennan , Luis Machado , linux-debuggers@vger.kernel.org, Omar Sandoval , Amal Raj T Subject: Re: GDB Remote Protocol Extension - Linux VMCOREINFO - Request for Feedback In-Reply-To: <5e1c692b-b103-4c47-8cc3-d8ce487d98e1@arm.com> (Luis Machado via Gdb's message of "Tue, 14 Jan 2025 15:03:16 +0000") References: <8734hmtfbr.fsf@oracle.com> <5e1c692b-b103-4c47-8cc3-d8ce487d98e1@arm.com> X-Attribution: Tom Date: Tue, 14 Jan 2025 10:15:16 -0700 Message-ID: <87plkpqpuj.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.36.154 X-Source-L: No X-Exim-ID: 1tXkVa-000J6F-10 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (murgatroyd) [97.118.36.154]:41008 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfMY9BGfbERdzl4ylniDCPDSeR2CruRtYPhF/IPOnztTngYp5JT5BLZfmoQOUgO6cBMznmIJqF1GWLhiWdeS1vI3ryev9cJnqxGUZvpX5+/GlgqQFDWRp JtNfUx7ROGwyhJ3KExRJCDbDWaD6CuNIyZyJ7iB97sh6ZxqqIznLkqznNMBGzCgRdS0qVDWhjcEiyQ== X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> Luis Machado via Gdb writes: >> To sum up, my specific questions are: >> >> 1. What is the maximum protocol packet size, if any? > It is hardcoded by gdb, but the remote can also specify that, but... >> 2. Would this functionality be better implemented in a single "q >> linux.vmcoreinfo" packet, or as a "qXfer" packet? > ... we have packets like qXfer that can handle multi-part transfers. So the > packet size is not a critical concern anymore, and it is best to use this > newer mechanism, if the usage fits the packet structure. Agreed, qXfer is the way to go. If you're adding a new object type, a patch to the manual would be good. Tom