summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index d91f3df9..fe7e4e9e 100644
--- a/main.cxx
+++ b/main.cxx
@@ -123,6 +123,11 @@ printscript(systemtap_session& s, ostream& o)
{
vardecl* v = s.globals[i];
v->printsig (o);
+ if (s.verbose && v->init)
+ {
+ o << " = ";
+ v->init->print(o);
+ }
o << endl;
}