From 212a566e493f285d89ebcc08961f44485dc55db0 Mon Sep 17 00:00:00 2001 From: Rajan Arora Date: Sat, 25 Oct 2008 19:21:34 -0400 Subject: Unused global variables display in guru mode fix (rh bz 468139) --- elaborate.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elaborate.cxx') diff --git a/elaborate.cxx b/elaborate.cxx index e4251f2a..38ce014e 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -1147,7 +1147,8 @@ semantic_pass_symbols (systemtap_session& s) // 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