There can be more than one directory with debuginfos on the machine. Please extend "set debug-file-directory DIR" command so that it accepts this syntax: set debug-file-directory DIR1[:DIR2]... or any equivalent method of achieving the same functionality.
Created attachment 364571 [details] Proposed implementation Diffed against current cvs. Run tested.
Created attachment 364755 [details] Patch fixing GNU coding style, printing path if the search fails, cross-platform pathnames, error exceptions safety, application on all the usages of debug-file-directory. Scratch-built gdb-7.0-1bz528668v0.fc12: http://koji.fedoraproject.org/scratch/jkratoch/task_1746015/ Please request if this feature is really required for F-12 ABRT as normally such extension would go only for F-13.
And patch is against Fedora which is a completely different codebase in this regards against FSF GDB due to build-id locating patch.
Personally I'm fine with F13. Thanks a lot for quick response.
I implemented much better debuginfo install in abrt. Without the gdb feature from this bug I can only copy debuginfos directly to /usr/lib/debug/build-id. This works, but Jiri thinks that this won't be acceptable for many users, and he is probably right. We should use a separate directory for them. In other words, we need this gdb feature sooner, i.e. in F12. Can you do this for us, Jan?
gdb-7.0-3.fc12: http://koji.fedoraproject.org/koji/buildinfo?buildID=137900 Please ping if it works to push it for dist-f12, it is only built now. A review is welcome as it is very late in the F-12 release process now: http://sourceware.org/ml/gdb-patches/2009-10/msg00509.html http://sourceware.org/ml/gdb-patches/2009-10/msg00508.html
Tested with modified abrt which runs gdb like this: gdb -batch -ex set debug-file-directory /usr/lib/debug:/var/cache/abrt-di/usr/lib/debug ... Seems to work fine.
I meant: -ex 'set debug-file-directory /usr/lib/debug:/var/cache/abrt-di/usr/lib/debug'
Thanks for the test. dist-f12 request: https://fedorahosted.org/rel-eng/ticket/2674