diff options
author | William Cohen <wcohen@redhat.com> | 2009-05-27 11:14:12 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-05-27 11:14:12 -0400 |
commit | 2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd (patch) | |
tree | f3eccb813b7496111613614552198bdaf4223deb /main.cxx | |
parent | eee30f40ac28c7090a269611fb1baea5c050c612 (diff) | |
download | systemtap-steved-2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd.tar.gz systemtap-steved-2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd.tar.xz systemtap-steved-2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd.zip |
Suggest rpms to install using debuginfo-install.
The patch makes use of the RPM libraries to determine which rpm supplied
the executable and from that information suggest a command to install the
appropriate debuginfo rpm.
This is enabled using the "--with-rpm" option for configure. Can be
explicitly disabled with "--without-rpm".
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,7 @@ #include "util.h" #include "coveragedb.h" #include "git_version.h" +#include "rpm_finder.h" #include <iostream> #include <fstream> @@ -1069,6 +1070,9 @@ main (int argc, char * const argv []) } } + /* Print out list of missing files */ + missing_rpm_list_print(s); + if (rc || s.listing_mode || s.last_pass == 2 || pending_interrupts) goto cleanup; // PASS 3: TRANSLATION |