diff options
author | ddomingo <ddomingo@redhat.com> | 2008-11-27 08:20:25 +1000 |
---|---|---|
committer | ddomingo <ddomingo@redhat.com> | 2008-11-27 08:20:25 +1000 |
commit | b292269455060d2f07dfa83749f9a7766c478c5a (patch) | |
tree | 684b52c7d3c598e26f22eba2f0b1db232788c526 /main.cxx | |
parent | c41e99c8f098302a9ed2eb4fcac6ff5e7cd79cab (diff) | |
parent | c31df222427089e752256c58fceb6f077bdc53ce (diff) | |
download | systemtap-steved-b292269455060d2f07dfa83749f9a7766c478c5a.tar.gz systemtap-steved-b292269455060d2f07dfa83749f9a7766c478c5a.tar.xz systemtap-steved-b292269455060d2f07dfa83749f9a7766c478c5a.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -746,6 +746,9 @@ main (int argc, char * const argv []) } int rc = 0; + + // PASS 0: setting up + s.verbose = s.perpass_verbose[0]; // For PR1477, we used to override $PATH and $LC_ALL and other stuff // here. We seem to use complete pathnames in @@ -804,7 +807,6 @@ main (int argc, char * const argv []) // PASS 1a: PARSING USER SCRIPT - s.verbose = s.perpass_verbose[0]; struct stat user_file_stat; int user_file_stat_rc = -1; @@ -939,7 +941,7 @@ main (int argc, char * const argv []) if (rc) cerr << "Pass 1: parse failed. " - << "Try again with more '-v' (verbose) options." + << "Try again with another '--vp 1' option." << endl; if (rc || s.last_pass == 1 || pending_interrupts) goto cleanup; @@ -967,7 +969,7 @@ main (int argc, char * const argv []) if (rc) cerr << "Pass 2: analysis failed. " - << "Try again with more '-v' (verbose) options." + << "Try again with another '--vp 01' option." << endl; // Generate hash. There isn't any point in generating the hash // if last_pass is 2, since we'll quit before using it. @@ -1026,7 +1028,7 @@ main (int argc, char * const argv []) if (rc) cerr << "Pass 3: translation failed. " - << "Try again with more '-v' (verbose) options." + << "Try again with another '--vp 001' option." << endl; if (rc || s.last_pass == 3 || pending_interrupts) goto cleanup; @@ -1054,7 +1056,7 @@ main (int argc, char * const argv []) if (rc) cerr << "Pass 4: compilation failed. " - << "Try again with more '-v' (verbose) options." + << "Try again with another '--vp 0001' option." << endl; else { @@ -1098,11 +1100,12 @@ pass_5: if (rc) cerr << "Pass 5: run failed. " - << "Try again with more '-v' (verbose) options." + << "Try again with another '--vp 00001' option." << endl; // if (rc) goto cleanup; + // PASS 6: cleaning up cleanup: // update the database information |