From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id U4VYG0AYmWdmZx0AWB0awg (envelope-from ) for ; Tue, 28 Jan 2025 12:47:44 -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=NY29kAIX; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5ECA11E105; Tue, 28 Jan 2025 12:47:44 -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 BE7531E08E for ; Tue, 28 Jan 2025 12:47:43 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5B2A13858031 for ; Tue, 28 Jan 2025 17:47:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B2A13858031 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=NY29kAIX Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 8EC5B385843F for ; Tue, 28 Jan 2025 17:47:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8EC5B385843F 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 8EC5B385843F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738086430; cv=none; b=dumnzPJwtwAgw2DIUjVzoY0VP51oy//HzjkJGmU7yGBGpvuKhaOudkbFC6rXIhdzMuBfXqP7HQxgE4cZXe/fMDzbYVMQegoxdreNNC6xOkt8/kKqwC/gVCr9U4Rqs+mQpPGt6dwqklGrzaaoHKJzUvrRM2vkYpd5tV5BGsKtboY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738086430; c=relaxed/simple; bh=S++mXjZYCxqq586Ed8XbNshn3dTTZwTs+XviTsXKBZI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Oostm3MCVJ82IW/p69p7JxYJuEdIRbx8+XaIN7xvNb8aOrALBE9XisxDZURX9wdmC2A+YwouLqf+Pr+xE2mTwzMjzKkMCSqDyDCDdeHgR8HAKNtjoV3WYHVLeRJuRQocPLS/rM6LUHF9oyFV0mLpjmFqwCqEQLdQT5ng4vjK5Lo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8EC5B385843F Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id cU2StfjxFWuHKcpg5tXINN; Tue, 28 Jan 2025 17:47:09 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id cpg4tBPuTHEACcpg5tollE; Tue, 28 Jan 2025 17:47:09 +0000 X-Authority-Analysis: v=2.4 cv=HdLfTTE8 c=1 sm=1 tr=0 ts=6799181d a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=VdSt8ZQiCzkA:10 a=ItBw4LHWJt0A:10 a=20KFwNOVAAAA:8 a=7ZhXokx6XBeXTqgVPdoA:9 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=PGPcQYIlCLcPZk397qeguDBAe1wHLuTU4soqTUtCAZs=; b=NY29kAIXawduL1OBr0qnR2R4E4 RWZRCMIYqDfCA73PcKV4BKmsDVQXjrH9IRUiaPJa71lUNlOwgeUDTmIkTKcD9kB0e8nyUsBtdKd56 i+8qVwI9esL8xVp7Tf1B1mtnd; Received: from 97-118-36-154.hlrn.qwest.net ([97.118.36.154]:38034 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 1tcpg4-000I6C-0b; Tue, 28 Jan 2025 10:47:08 -0700 From: Tom Tromey To: Kevin Buettner Cc: Stephan Rohr , gdb-patches@sourceware.org, eliz@gnu.org, guinevere@redhat.com, tom@tromey.com Subject: Re: [PATCH v4 1/1] gdb: remove check for minimal symbols in 'start_command' In-Reply-To: <20250127162830.5d10b4f7@f41-zbm-amd> (Kevin Buettner's message of "Mon, 27 Jan 2025 16:28:30 -0700") References: <20250127154211.2509613-1-stephan.rohr@intel.com> <20250127154211.2509613-2-stephan.rohr@intel.com> <20250127162830.5d10b4f7@f41-zbm-amd> X-Attribution: Tom Date: Tue, 28 Jan 2025 10:47:06 -0700 Message-ID: <87cyg6omp1.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: 1tcpg4-000I6C-0b X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-36-154.hlrn.qwest.net (murgatroyd) [97.118.36.154]:38034 X-Source-Auth: tom+tromey.com X-Email-Count: 11 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfCm2IFvB7qGwYSdRPysAZj5V/QBOV6or5k65FCKUTDWNmNQNqu70MBMOaRB0qO+frpIk/TsDwXZETHpb7CHpluSYgtO13jC1g43Szu117i/WvZ6seoc6 sjo/2yYtNp8Ns4ENS3WYVlkIgAbpdp/3O7I4eEnfk2DDA4j0vtY+q3Z/5xNmoXsY8SERy0Ti2D0G8yfc3SuKP74X8csvPZfcrl4= 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 >>>>> "Kevin" == Kevin Buettner writes: Kevin> The one thing that concerns me is the comment regarding the Ada language Kevin> and the need to search for minimal symbols. I'm going to give this patch Kevin> an "Approved-by", but please wait a few days for others to weigh in Kevin> regarding this concern. In Ada programs, the name of the 'main' program is stored in an array. gdb reads this from the inferior (normally from the section data by setting trust_readonly=true) by looking up the minimal symbol. See ada-lang.c:ada_main_name. I'd guess this patch would just cause gdb to behave differently here: rather than getting an error, you'd get a stop in the "C main", which is some generated Ada procedure that the user won't recognize. Anyway it hardly seems fatal. Perhaps we need some better way to communicate the Ada main for this target, not sure. Tom