This repo contains both a GDB and LLDB plugin to support debuginfod in the versions of GDB and LLDB which not do have debuginfod built in.
WARNING: Currently these plugins only support downloading symbols/ These plugin do not support sources.
This works in both LLDB and GDB. As of GDB 10.1, debuginfod support is built into GDB and so this plugin is not needed.
These plugins can be installed in two different ways:
First follow gdbundle's install steps.
Then install the debuginfod plugins with the following command:
pip install gdbundle-debuginfod-pluginInstructions to come...
Once installed, you will have access to the dbgd command in both GDB and
LLDB. Run dbgd --help to see the full list of commands. Normal usage will
be covered here.
By default, symbols will load automatically.
debugger> dbgd symbols load
debugger> dbgd symbols autoload on
debugger> dbgd symbols autoload off
debugger> dbgd symbols list
debugger> dbgd servers list
debugger> dbgd servers add [url]
debugger> dbgd servers rm [index]