unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Rolf Ade <rolf@pointsman.de>
Cc: 70764@debbugs.gnu.org
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 17:11:52 +0300	[thread overview]
Message-ID: <86jzk9fyzb.fsf@gnu.org> (raw)
In-Reply-To: <54b3a581-8e00-4bf1-9051-5b826cd9c306@pointsman.de> (message from Rolf Ade on Sat, 4 May 2024 15:32:27 +0200)

> Date: Sat, 4 May 2024 15:32:27 +0200
> From: Rolf Ade <rolf@pointsman.de>
> 
> >> Even if I answer with "n" I get the message:
> >>
> >> "No symbol \"debuginfod\" in current context."
> > 
> > I think this means your GDB is too old and doesn't support debug info
> > downloading, or was built without that support.  We don't know how to
> > know in advance that this is not supported, thus the user option that
> > you can customize to avoid these questions if your GDB cannot use
> > debuginfod.
> 
> I don't know if my gdb support debug info downloading (see exact version info 
> below) but if I answer the question with "n" - I don't want to enable this - I 
> wonder why I'm (only mildly, of course) bothered with a not very helpful error 
> message.

I don't know.  AFAIR, it was not supposed to happen in Emacs 29.1 and
later.

> > What OS are you using GDB on, and what is your GDB version, please?
> 
> This is basically a GNU/linux debian 11.9 (so, not that old). More specifically, 
> uname -a:
> 
> Linux pointsman2 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 
> GNU/Linux
> 
> gdb --version (it's the version installed by the debian package management system):
> 
> GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git

Strange.  GDB 10.1 was the version where debuginfod support was added.
What does the shell command below show?

  $ gdb --config | fgrep debuginfod





  parent reply	other threads:[~2024-05-04 14:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-04  2:00 bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context Rolf Ade
2024-05-04  7:20 ` Eli Zaretskii
2024-05-04 13:32   ` Rolf Ade
2024-05-04 13:33   ` Rolf Ade
     [not found]   ` <54b3a581-8e00-4bf1-9051-5b826cd9c306@pointsman.de>
2024-05-04 14:11     ` Eli Zaretskii [this message]
2024-05-04 14:23       ` Eli Zaretskii
2024-05-04 15:54         ` Rolf Ade
2024-05-04 15:42       ` Rolf Ade
2024-05-04 16:12         ` Eli Zaretskii
2024-05-04 16:26           ` Rolf Ade
2024-05-04 17:07             ` Eli Zaretskii
2024-05-18  8:36               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86jzk9fyzb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70764@debbugs.gnu.org \
    --cc=rolf@pointsman.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).