From 2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 27 May 2009 11:14:12 -0400 Subject: 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". --- rpm_finder.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rpm_finder.h (limited to 'rpm_finder.h') diff --git a/rpm_finder.h b/rpm_finder.h new file mode 100644 index 00000000..a4ef5c05 --- /dev/null +++ b/rpm_finder.h @@ -0,0 +1,10 @@ +// systemtap debuginfo rpm finder +// Copyright (C) 2009 Red Hat Inc. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. + +extern void missing_rpm_list_print (systemtap_session &); +extern int find_debug_rpms (systemtap_session &, const char *); -- cgit