From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rolf Ade 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, 4 May 2024 18:26:41 +0200 Message-ID: <83b7bcd5-9fb8-4318-9dc2-8bb63049bc5a@pointsman.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28082"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70764@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 04 18:27:51 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 1s3IEp-00075i-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 May 2024 18:27:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3IEj-0004MX-Dj; Sat, 04 May 2024 12:27:45 -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 1s3IEe-0004MD-Ij for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 12:27:40 -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 1s3IEd-0005x0-En for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 12:27:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3IF0-0002hh-GB for bug-gnu-emacs@gnu.org; Sat, 04 May 2024 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rolf Ade Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2024 16:28: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.171484003210376 (code B ref 70764); Sat, 04 May 2024 16:28:02 +0000 Original-Received: (at 70764) by debbugs.gnu.org; 4 May 2024 16:27:12 +0000 Original-Received: from localhost ([127.0.0.1]:54525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3IEB-0002hI-P4 for submit@debbugs.gnu.org; Sat, 04 May 2024 12:27:12 -0400 Original-Received: from mail.nepustil.net ([2001:14f8:1:1::8]:63422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3IE9-0002hC-6x for 70764@debbugs.gnu.org; Sat, 04 May 2024 12:27:10 -0400 Original-Received: from p5b317896.dip0.t-ipconnect.de ([91.49.120.150]:38818 helo=[192.168.178.42]) by mail.nepustil.net with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1s3IB4-000CAM-M8; Sat, 04 May 2024 18:26:40 +0200 Content-Language: de-CH In-Reply-To: <86fruxfte6.fsf@gnu.org> 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:284441 Archived-At: Am 04.05.24 um 18:12 schrieb Eli Zaretskii: >> Date: Sat, 4 May 2024 17:42:20 +0200 >> Cc: 70764@debbugs.gnu.org >> From: Rolf Ade >> >> Am 04.05.24 um 16:11 schrieb Eli Zaretskii: >>>> Date: Sat, 4 May 2024 15:32:27 +0200 >>>> From: Rolf Ade [...] >>> >>> Strange. GDB 10.1 was the version where debuginfod support was added. >>> What does the shell command below show? >>> >>> $ gdb --config | fgrep debuginfod >> >> This returns >> >> --with-debuginfod > > Then I'm really stumped. > > 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). I see this on two different boxes with debian 11.9; this is not specific to a single machine. But Bullseye still isn't that uncommon; so others should also see this, I suppose?