There is a way, although I'm not sure I would call it easy. The essential idea is to install the files in $HOME and then tell gdb how to find them.
The steps are as follows:
- Download the RPM.
- Install them somewhere in
$HOME . Sometimes you can do this with rpm -i --prefix=... , although I don't know if this will work for RPM debuginfo. You can always extract files from RPM using cpio . Remember to save the directory names. - In gdb, use
set debug-file-directory to tell gdb to look at your new directory. Here you can place several directories by dividing them by ; .
After this, some reuse of the source directories may be required (see dir ).
It might be worth noting that you usually don't need a debuginfo system.
source share