From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by sourceware.org (Postfix) with ESMTPS id 7F964385702B for ; Mon, 29 May 2023 20:16:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F964385702B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-39815ce6db2so3475618b6e.0 for ; Mon, 29 May 2023 13:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1685391416; x=1687983416; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:errors-to:references:organization:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=LeLQcPBUBBzBfQ8f7/dGf4Up8JafzRTTTBlu6GNa7sg=; b=JEF7WGdRM5Gddgq9HbyCk6dwm3FHDvRGRpe3y7a6i5hYFt/yDSBycVATaGi8pKFJAP UTo0SrVnzQEQvzEtm6ThNfDu9jd6/qnsPfz8qSlzFw+ZZdvYYld43pQ36Yuni+VMaEf2 UZAEEArt3IXZJEUX5XvbZGxeeCziT/fLljQpa6FmkqtI68p55fmrBU0j0Ds+2ZzCCmDr Ls8TJJEaqKs93jlHUhgXu4lhigl+JAoufaFkWDxo7uxWsxt937eUA1BbY0rsyB/049QZ dlxBnwHSw2eM1bI4heDaJ3S37f90PWMaqkBGV80wJEibgq4ylV1AC6d1hlyxvNaE+auo h/zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685391416; x=1687983416; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:errors-to:references:organization:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LeLQcPBUBBzBfQ8f7/dGf4Up8JafzRTTTBlu6GNa7sg=; b=dd6Pi1lFrYswzc/O6tClvOZaTllt4/mKGJg/SMD13t0hKaLHSnn/ZFybGZ46nmaY3B fLiFRiNd7ZFhog3N4h4PFa4u9Fio1ahGFd+D3DQ4g7HvdaTRJGnYzE4rKCsXkT6Pq6qB gdXzdP+0e0dTP26BjeDAyjlnVK7wgh9QfnIgG6/LhzcLbvxImAyHftkXoJJMPVcdxvhl 0g0HF26h8my7hzJW+RKB6EHGA3j9vU1D+u9vTs/MpaMwaxUqNBG1DvEZSmwEdag8k+SC CqasGuCOfNdtpBzmTP2A/if3VSehvGUUMjmUPvvJMj1WqijWEmZvkHuh3gHnGD8Kaz/0 IAfg== X-Gm-Message-State: AC+VfDwpCQD8Hcf9rH/YAW7dcXYtTNUbctKQ/v+mD2Gp7pVewAlqz0wP M0WLYbltdMH3wwbCux8T1QXr8Q== X-Google-Smtp-Source: ACHHUZ5iT8UXO4Gd87wfm9xm5OVKUkD8kJSDb7I7j3Ge+Opf/cCbXng1ezSKEQIwmpwv/EB1FNFgWw== X-Received: by 2002:a05:6808:2213:b0:395:fb68:f280 with SMTP id bd19-20020a056808221300b00395fb68f280mr151632oib.0.1685391415767; Mon, 29 May 2023 13:16:55 -0700 (PDT) Received: from free.home ([2804:7f1:2080:f7d4:691e:1e3:9342:7fbc]) by smtp.gmail.com with ESMTPSA id c12-20020a544e8c000000b0039819ef73e7sm4784640oiy.2.2023.05.29.13.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 May 2023 13:16:55 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 34TKGi373826169 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 29 May 2023 17:16:46 -0300 From: Alexandre Oliva To: Arsen =?utf-8?Q?Arsenovi=C4=87?= Cc: David Malcolm , Eli Zaretskii , "Frank Ch. Eigler" , gcc@gcc.gnu.org Subject: Re: LSP based on GCC Organization: Free thinker, does not speak for AdaCore References: <83a5y3xcai.fsf@gnu.org> <86mt22sheq.fsf@aarsen.me> Errors-To: aoliva@lxoliva.fsfla.org Date: Mon, 29 May 2023 17:16:44 -0300 In-Reply-To: <86mt22sheq.fsf@aarsen.me> ("Arsen =?utf-8?Q?Arsenovi=C4=87?= =?utf-8?Q?=22's?= message of "Wed, 17 May 2023 23:18:45 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On May 17, 2023, Arsen Arsenovi=C4=87 wrote: > ISTR Alexandre Oliva (CC added) mentioning leveraging GDB to implement > various bits of LSP functionality, such as handling multiple TUs. This > sounds like a good idea to me (at least at a high level), as it could > lead to the hypothetical GNU toolchain LSP implementation being > partially language-agnostic (naturally, some things like candidate lists > would still need language support, as well as documentation parsing, > ...), which would be quite handy. > Do you happen to have any memory of that? I recall advancing that suggestion, reasoning that GDB was capable of combining information from multiple translation units and of reloading debug information, which GCC doesn't. But that was mainly a hunch that it could work, not something based on extensive knowledge of GDB or LSP. Details were all yet to be figured out. I expected there'd be a need for additional debug information to be emitted. I wasn't sure how to approach the issue of translation units that wouldn't compile or link successfully yet. There are many thorny issues to be sorted out. --=20 Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about