From: Rolf Ade <rolf@pointsman.de>
To: Eli Zaretskii <eliz@gnu.org>
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, 4 May 2024 18:26:41 +0200 [thread overview]
Message-ID: <83b7bcd5-9fb8-4318-9dc2-8bb63049bc5a@pointsman.de> (raw)
In-Reply-To: <86fruxfte6.fsf@gnu.org>
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 <rolf@pointsman.de>
>>
>> Am 04.05.24 um 16:11 schrieb Eli Zaretskii:
>>>> Date: Sat, 4 May 2024 15:32:27 +0200
>>>> From: Rolf Ade <rolf@pointsman.de>
[...]
>>>
>>> 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?
next prev parent reply other threads:[~2024-05-04 16:26 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83b7bcd5-9fb8-4318-9dc2-8bb63049bc5a@pointsman.de \
--to=rolf@pointsman.de \
--cc=70764@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.