From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11725 invoked by alias); 27 May 2018 03:57:20 -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 11678 invoked by uid 89); 27 May 2018 03:57:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*f:sk:8736yp4, H*f:sk:87po34k, H*f:sk:87d0xl7, H*f:sk:87po1l2 X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.152.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 27 May 2018 03:57:16 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 7CB3C3B38 for ; Sat, 26 May 2018 22:57:15 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id MmnzfqAWEPvAdMmnzf4tf8; Sat, 26 May 2018 22:57:15 -0500 X-Authority-Reason: nr=8 Received: from 174-29-44-154.hlrn.qwest.net ([174.29.44.154]:42638 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fMmnz-002468-5J; Sat, 26 May 2018 22:57:15 -0500 From: Tom Tromey To: Keith Seitz Cc: Tom Tromey , Sergio Durigan Junior , Joel Brobecker , gdb-patches@sourceware.org, Pedro Alves Subject: Re: possible fix for PR symtab/23010 References: <87po34kzxh.fsf@tromey.com> <20180430224454.wrnu4u45o5gukrxs@adacore.com> <20180507171309.f4yjprji4g3deubw@adacore.com> <8736yp4xo8.fsf@redhat.com> <87po1l2ab0.fsf@tromey.com> <87d0xl7ulv.fsf@redhat.com> <87lgc91yrf.fsf@tromey.com> <8f477b41-06ba-63a7-716b-0f2f7303da37@redhat.com> <2c888612-11e8-b376-5797-b40fada46867@redhat.com> Date: Sun, 27 May 2018 15:20:00 -0000 In-Reply-To: <2c888612-11e8-b376-5797-b40fada46867@redhat.com> (Keith Seitz's message of "Fri, 25 May 2018 15:43:31 -0700") Message-ID: <87muwlzr6t.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-BWhitelist: no X-Source-L: No X-Exim-ID: 1fMmnz-002468-5J X-Source-Sender: 174-29-44-154.hlrn.qwest.net (bapiya) [174.29.44.154]:42638 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00712.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Keith> And that is the cause of these problems. The call to Keith> prepare_one_comp_unit needs to be the *first* thing that is done Keith> when reading a CU so that the CU's language can be recorded (and Keith> inherited by any referenced partial_units). Nice work debugging this. Tom