summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-05-27 11:14:12 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-05-27 11:14:12 -0400
commit2ed04863c3426f94932d4a4e4b5d6c7b84e49dfd (patch)
treef3eccb813b7496111613614552198bdaf4223deb /session.h
parenteee30f40ac28c7090a269611fb1baea5c050c612 (diff)
downloadsystemtap-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 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.h b/session.h
index 151094b1..a617e47f 100644
--- a/session.h
+++ b/session.h
@@ -211,6 +211,8 @@ struct systemtap_session
std::set<std::string> seen_warnings;
unsigned num_errors () { return seen_errors.size(); }
+ std::set<std::string> rpms_to_install;
+
// void print_error (const parse_error& e);
const token* last_token;
void print_token (std::ostream& o, const token* tok);