Debuginfod in an interactive gdb frontend
Dmitry Neverov
dmitry.neverov@jetbrains.com
Tue May 7 08:57:59 GMT 2024
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
More information about the Gdb
mailing list