From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id P6dJI3ED6WmrCTQAWB0awg (envelope-from ) for ; Wed, 22 Apr 2026 13:20:49 -0400 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=RvGniVgR; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7BE9D1E093; Wed, 22 Apr 2026 13:20:49 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 F2BE21E093 for ; Wed, 22 Apr 2026 13:20:48 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 880A04BB588B for ; Wed, 22 Apr 2026 17:20:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 880A04BB588B 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=RvGniVgR Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 919554BB3BC8 for ; Wed, 22 Apr 2026 17:20:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 919554BB3BC8 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 919554BB3BC8 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776878422; cv=none; b=D9PvQjIkqBYf1ll1l2J1BC7uexgx00c+zYSv8SFUahzhDAJtac19Pa/bT+qjCPkEqa4xSgqOfhJaqD7JbOznEYzeat0Y5tNWJ/8JRqYIlbG/DLj6nNY9bE/g4J8//4nIIxEIBdgTZfk+hcbggXa2mw8W7IX/2SiQk5728wqgszE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776878422; c=relaxed/simple; bh=cZOTpGN84wcDLDp9KaaxLz/88nNBbtZO3TgsuW7m1dU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xVcx6y3prW+ZBlba86AmZ1i9qzIyRfiXJ2czpCzto5QWtmA56o56/TIZNDsZnf66aWw0iylLNrUebQQZZXf8cHzA/hfGnSz+GQUwI9o3jzfy31j90TO08Ugb5/MqkR5z7FllQ+75Ht1Z6WBtM/SB1g+ASNY8NZZGEJvdT1eLSvY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 919554BB3BC8 Received: from eig-obgw-5001b.ext.cloudfilter.net ([10.0.29.181]) by cmsmtp with ESMTPS id FQd2wUmLVjw8YFbFNwFfxL; Wed, 22 Apr 2026 17:20:21 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id FbFMwNSjQI7vWFbFMwKud9; Wed, 22 Apr 2026 17:20:20 +0000 X-Authority-Analysis: v=2.4 cv=T6WMT+KQ c=1 sm=1 tr=0 ts=69e90355 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=A5OVakUREuEA:10 a=ItBw4LHWJt0A:10 a=bxzfYqJaYnPqmhf-hnQA:9 a=DCx65vhANUyCzuf5D8fC: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=SgZN1tdN662wOkuiCrQ65hEOQHlStzoy2QT4Rjc1k7w=; b=RvGniVgRtCZHVdGLyC2IE/f5eZ 8NaBUGO5V2jqdjj8WWJMT/d/CEPTQ/hGxFJvcA8R/aoK5zxIrz4u84ErBKfhukDCFf/Nli9nFX75V ICCDVDr0eG5mZQkYYzB+pNwFv; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:37136 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wFbFL-00000004ABN-2iRn; Wed, 22 Apr 2026 11:20:19 -0600 From: Tom Tromey To: Andrew Burgess Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb/dap: add support for opening core files In-Reply-To: <87a4uw2xg0.fsf@redhat.com> (Andrew Burgess's message of "Tue, 21 Apr 2026 15:35:27 +0100") References: <87a4uw2xg0.fsf@redhat.com> X-Attribution: Tom Date: Wed, 22 Apr 2026 11:20:18 -0600 Message-ID: <878qaerjxp.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: 75.166.225.82 X-Source-L: No X-Exim-ID: 1wFbFL-00000004ABN-2iRn X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:37136 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfOiCfHLNlGiY25kLAzLh6YGsuM8LenYN4jZ8Qo9Vee3X0P/40KYpasO8eIVqNEXUkFNTwhXOdIYfOr9/h3G2RDwGXsLdee+z+C2N+DPC+9NKjPGIgMvo uTkC5YA0+/wO8JvVE81E2X7XZjT0QrN7mzjtO5w0f6m7MYw6e0qcKAZzozovhhWoKVuUGXCVl96881wkCy9SDYst19E5vHNHRyk= 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 Andrew> I had a follow up thought relating to this patch -- I wonder if we Andrew> should add a custom capability, something like: Andrew> @capability("supportsGDBAttachWithCoreFile") Andrew> then a DAP user will know if they can load a core file in this way or Andrew> not. Obviously, this would need some doc changes too... Andrew> I'm not sure if we have any custom capabilities yet, I couldn't see Andrew> anything documented, so I guess not. There aren't any yet. The idea has come up from time to time. The DAP spec doesn't make allowances for this but OTOH it's not totally clear if doing this would really break any clients. If we did add them maybe we should use some specific prefix like "__gdb". Tom