+2008-10-25 Rajan Arora <rarora@redhat.com>
+
+ * elaborate.cxx (add_global_var_display): Added check for guru mode.
+
2008-10-24 Josh Stone <joshua.i.stone@intel.com>
* tapsets.cxx (hrtimer_derived_probe_group::emit_module_decls): Support
// Keep unread global variables for probe end value display.
void add_global_var_display (systemtap_session& s)
{
- if (s.listing_mode) return; // avoid end probe in listings_mode
+ if (s.listing_mode || s.guru_mode) return; // avoid end probe
+ //in listings_mode or guru_mode
varuse_collecting_visitor vut;
for (unsigned i=0; i<s.probes.size(); i++)
-2008-10-20 Elliott Baron <ebaron@redhat.com>
+2008-10-25 Rajan Arora <rarora@redhat.com>
+
+ * systemtap.base/global_end.exp: Spawn test again
+ in guru mode.
+
+2008-10-20 Elliott Baron <ebaron@redhat.com>
PR6851
* systemtap.printf/char1.exp: New test.
eof { }
}
wait
-if {$ok == 11} { pass "$test ($ok)" } { fail "$test ($ok)" }
+spawn stap -g $srcdir/$subdir/global_end.stp
+# above should not do any global variable display so `ok' should only change by one
+expect {
+ -timeout 180
+ -re {one,0x1.*one,0x2.*two,0x1.*two,0x2} { incr ok; exp_continue }
+}
+if {$ok == 12} { pass "$test ($ok)" } { fail "$test ($ok)" }