From 7e41d3dc4003b7e05731173f6b22cc9e1b05f057 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 19 Dec 2006 22:00:15 +0000 Subject: 2006-12-19 Frank Ch. Eigler PR 3522. * tapsets.cxx (dwflpp::emit_address): Call _stp_module_relocate only once per session. Error message cleanup: duplicate elimination etc. * session.h (saved_errors): Store a set of 'em. (num_errors): Return set size. Remove old numeric field. Update all callers. * elaborate.cxx (systemtap_session::print_errors): Print each encountered message just once. * staptree (semantic_error): Make msg2 writeable. Add a chain field. * tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved semantic_error's chain field. * elaborate.cxx (register_library_aliases, visit_foreach_loop, visit_functioncall, derive_probes): Plop "while: ..." error message prefix/suffix right into the semantic_error message string. * parse.cxx (lexer::scan): Identify erroneous token better in error message for unresolvable $N/@M command line args. * util.h (lex_cast_hex): Use std::hex, not std::ios::hex. 2006-12-19 Frank Ch. Eigler PR 3522. * buildok/twentyfive.stp: New test for static $var access. --- testsuite/ChangeLog | 7 ++++++- testsuite/buildok/twentyfive.stp | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 testsuite/buildok/twentyfive.stp (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index ed8ba350..ca94607c 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2006-12-18 Josh Stone +2006-12-19 Frank Ch. Eigler + + PR 3522. + * buildok/twentyfive.stp: New test for static $var access. + +2006-12-18 Josh Stone * systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for successfully dereferencing pointers of various sizes. This is known to diff --git a/testsuite/buildok/twentyfive.stp b/testsuite/buildok/twentyfive.stp new file mode 100755 index 00000000..1bd39b02 --- /dev/null +++ b/testsuite/buildok/twentyfive.stp @@ -0,0 +1,9 @@ +#! stap -p4 + +# PR 3522. + +probe module("ext3").function("ext3_check_dir_entry") { + print ($ext3_filetype_table[1]) # static global in CU +} +probe timer.s(4) { exit () } + -- cgit