Debuginfod in an interactive gdb frontend

Dmitry Neverov via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAEY59_LNnDE9gZFkUgOMwZMpm-CGSkK0YOogtw+E4pCu+uHyQQ@mail.gmail.com>
Please suggest how to integrate with debuginfod in the interactive gdb frontend.

Since loading debug information can be slow, I'd like to ask the user
before loading, similar to what `set debuginfod enabled ask` does in
the terminal. The 'set debuginfod enabled ask' defaults to 'N' in the
non-interactive terminal. Is there any way to hook into this
interaction and make the answer depend on user choice in UI without
typing in the console?

Also since loading takes time, I'd like to show some progress in UI.
Is it possible to get notified when the debuginfo loading for a given
binary starts/finishes, and with which result?

I thought I could write a MissingDebugHandler in python and wrap
debuginfod with necessary progress, but it looks like debuginfod api
is not available in python.

--
Dmitry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.