From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context Date: Sat, 04 May 2024 20:07:31 +0300 Message-ID: <86a5l5fquk.fsf@gnu.org> References: <87jzkatjyj.fsf@pointsman.de> <86v83ugi0q.fsf@gnu.org> <54b3a581-8e00-4bf1-9051-5b826cd9c306@pointsman.de> <86jzk9fyzb.fsf@gnu.org> <1ef03828-d29d-4157-b40a-f88e9f13d909@pointsman.de> <86fruxfte6.fsf@gnu.org> <83b7bcd5-9fb8-4318-9dc2-8bb63049bc5a@pointsman.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70764@debbugs.gnu.org To: Rolf Ade Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 04 19:09:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s3Isf-0001Bi-Ul for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 May 2024 19:09:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3IsL-0004PD-9R; Sat, 04 May 2024 13:08:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3IsJ-0004P0-Iq for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:08:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3IsJ-0004aC-6x for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:08:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3Isg-000626-8K for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 13:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2024 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70764 X-GNU-PR-Package: emacs Original-Received: via spool by 70764-submit@debbugs.gnu.org id=B70764.171484250423167 (code B ref 70764); Sat, 04 May 2024 17:09:02 +0000 Original-Received: (at 70764) by debbugs.gnu.org; 4 May 2024 17:08:24 +0000 Original-Received: from localhost ([127.0.0.1]:54711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Is4-00061b-0X for submit@debbugs.gnu.org; Sat, 04 May 2024 13:08:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Is1-00061M-0V for 70764@debbugs.gnu.org; Sat, 04 May 2024 13:08:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3IrW-0004N7-RP; Sat, 04 May 2024 13:07:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=plbuTdYKqah4PnIMVfj8PYl5A0ffgpqpYjIOY4mFmEo=; b=ibfpu1jtjyiy IN46hVdjehwk2HdCmNEjXuU9c+uKjMe/AhkwhUDkD+z5a4b1N8Wxwhcal87lV+v96Gmw8ip7AbRfJ 1REApdDm6rxLzmap0g+0jJKTd5EVvVD7ehBRCt6zKyNGv363JbBjjS3s4dCNbwF2XIMfVf8Pv3En3 p3rs1PZ+fY25Qs6jb/NSanZTPBtN/mvCo45F35K7lym7amVMynK5YaHx7BxkBZSY6FEmq2X4qjpaa mjQKPFbwGrTYh4GJ6qjTWQ7KRRMM0XYXJTJ/Ey7LZ30HexXRm7sdRIWmkHYVi014fHHxsWC81NbMh x69z1rWiofWIUsv9e8BHPA==; In-Reply-To: <83b7bcd5-9fb8-4318-9dc2-8bb63049bc5a@pointsman.de> (message from Rolf Ade on Sat, 4 May 2024 18:26:41 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284444 Archived-At: > Date: Sat, 4 May 2024 18:26:41 +0200 > Cc: 70764@debbugs.gnu.org > From: Rolf Ade > > > If you start GDB from the shell prompt, like this: > > > > $ gdb ./emacs > > > > and then, when GDB shows its "(gdb)" prompt, type > > > > (gdb) set debuginfod enabled on > > > > do you also see that "No symbol" error message? > > Yes: > > (gdb) set debuginfod enabled on > No symbol "debuginfod" in current context. > (gdb) > > > > And also please try this: > > > > $ gdb -i=mi ./emacs > > ... > > -gdb-set debuginfod enabled on > > > > and see if you get any error message that way. > > Yes: > > (gdb) > -gdb-set debuginfod enabled on > ^error,msg="No symbol \"debuginfod\" in current context." > (gdb) > > So, this all seems to lead to that the gdb shipped with Bullseye isn't correctly > build (despite the --with-debuginfod in the gdb --config output). Most probably, yes. > But Bullseye still isn't that uncommon; so others should also see this, I suppose? Unfortunately, the only better alternative to stop these error messages is for you to customize gdb-debuginfod-enable-setting to the nil value. That is the only way we know of that allows to prevent the error messages by avoiding to even try the problematic setting. No other way we tried at the time to dynamically detect the support worked in a satisfactory manner, basically because trying an unsupported command is bound to trigger some error message.