From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31186 invoked by alias); 29 May 2019 13:37:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 31178 invoked by uid 89); 29 May 2019 13:37:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:515 X-HELO: gateway22.websitewelcome.com Received: from gateway22.websitewelcome.com (HELO gateway22.websitewelcome.com) (192.185.47.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 May 2019 13:37:34 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 018BC5AA2 for ; Wed, 29 May 2019 08:37:33 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id Vyloh70qs2qH7VylohKn8t; Wed, 29 May 2019 08:37:33 -0500 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:In-Reply-To:Date: References: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=jUg8OHXMsnm51pRlxTetGG8g/m++LiMB6eGv9onmai4=; b=Y0LFZmLXYWW1h044oakVoPIfmW Bc04nVq9Jdz7UoxzAZW2jRwJY+xBQhWmQqTBRLDHzo3zVpqXHmjY6WtrLPA30i+ZqPuOMKz4F21iK OL7sj5wvRtoY/Zpq5dUBgSPs3; Received: from 174-29-48-168.hlrn.qwest.net ([174.29.48.168]:44044 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hVylo-000UZ2-Lo; Wed, 29 May 2019 08:37:32 -0500 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH][gdb/symtab] Support DW_AT_main_subprogram with -readnow. References: <20190505102520.GA5031@delia> Date: Wed, 29 May 2019 13:37:00 -0000 In-Reply-To: <20190505102520.GA5031@delia> (Tom de Vries's message of "Sun, 5 May 2019 12:25:22 +0200") Message-ID: <87ef4h5qlg.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-05/txt/msg00626.txt.bz2 >>>>> "Tom" == Tom de Vries writes: Tom> DW_AT_main_subprogram is supported in normal mode in read_partial_die, but not Tom> in -readnow mode. Tom> Fix this by adding support for DW_AT_main_subprogram in read_func_scope. Tom> Tested on x86_64-linux with native and RFC target board readnow ( Tom> https://sourceware.org/ml/gdb-patches/2019-05/msg00073.html ). Tom> OK for trunk? Thank you for the patch. This is ok. Tom