From c01ad4933dd4c19ba7c10de62819c8cbe6e25522 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Sat, 27 Apr 2013 16:08:41 -0400 Subject: [PATCH] Remove compile_byteman_rule artifacts *session.cxx: remove artifacts *session.h: same as above --- session.cxx | 7 ++++--- session.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/session.cxx b/session.cxx index e6963d347..b88115cda 100644 --- a/session.cxx +++ b/session.cxx @@ -358,7 +358,6 @@ systemtap_session::systemtap_session (const systemtap_session& other, kbuildflags = other.kbuildflags; #ifdef HAVE_JAVA_HELPER - compile_byteman_rule = other.compile_byteman_rule; bminstallflags = other.bminstallflags; #endif /* HAVE_JAVA_HELPER */ @@ -545,7 +544,7 @@ systemtap_session::usage (int exitcode) " -q generate information on tapset coverage\n" #endif /* HAVE_LIBSQLITE3 */ #ifdef HAVE_JAVA_HELPER - " -J request byteman pass such options to the JVM during bminstall\n" + " -J request byteman pass such options to the JVM during bminstall.\n" #endif /* HAVE_JAVA_HELPER */ " --runtime=MODE\n" " set the pass-5 runtime mode, instead of kernel\n" @@ -898,11 +897,13 @@ systemtap_session::parse_cmdline (int argc, char * const argv []) kbuildflags.push_back (string (optarg)); break; - case 'J': #ifdef HAVE_JAVA_HELPER + case 'J': + cout << "this was hit" << endl; bminstallflags.push_back(string("-D") + (string (optarg)) ); break; #else + case 'J': cerr << _("You may only specify -J options when configured with --with-jdk") << endl; return 1; #endif /* HAVE_JAVA_HELPER */ diff --git a/session.h b/session.h index 40b176a0a..cfc0b0a09 100644 --- a/session.h +++ b/session.h @@ -201,7 +201,6 @@ public: bool suppress_handler_errors; bool suppress_time_limits; #ifdef HAVE_JAVA_HELPER - bool compile_byteman_rule; std::vector bminstallflags; // -J var=val #endif -- 2.43.5