GNU bug report logs -
#70764
29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context
Previous Next
Reported by: Rolf Ade <rolf <at> pointsman.de>
Date: Sat, 4 May 2024 02:02:01 UTC
Severity: normal
Found in version 29.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With 29.1 as well as with trunk(both tested with -Q) if I call M-x gdb I
get asked:
"Enable querying debuginfod servers for this session? (y or n)"
Even if I answer with "n" I get the message:
"No symbol \"debuginfod\" in current context."
This can't be right. Declining to use a feature should not be answered
with a message that it would not be available anyways (what the message
seem to tell me).
Digging around a bit it turns out there is a variable to customise the
behaviour here: gdb-debuginfod-enable-setting. Its default value is
'ask.
From a user perspective it only make sense to be ask about wanting
something if this something is avaliable.
If it is about the advertising aspect then why not more clear don't ask
questions and instead write a message like: "You cannot use debuginfod
servers. Consider using this marvelous feature".
rolf
This bug report was last modified 1 year and 60 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.