diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-07-30 00:06:59 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-07-30 00:17:09 +0200 |
commit | 83ca3872dadc89c5a8155150bf76d5c09890dcc9 (patch) | |
tree | 5778940a299b310ac862cb4b6e1f7675c99b8b79 /dwflpp.cxx | |
parent | 8823ee6a3fcf47adbb7314c6fd560e6c952c4705 (diff) | |
download | systemtap-steved-83ca3872dadc89c5a8155150bf76d5c09890dcc9.tar.gz systemtap-steved-83ca3872dadc89c5a8155150bf76d5c09890dcc9.tar.xz systemtap-steved-83ca3872dadc89c5a8155150bf76d5c09890dcc9.zip |
PR10459. Disable all warning messages on -w.
* stap.1.in: Document that -w disables all warning messages.
* dwflpp.cxx (get_module_dwarf): Only output warning when session
suppress_warnings is not set.
* translate.cxx (dump_unwindsyms): Likewise.
(emit_symbol_data_done): Likewise.
* tapsets.cxx (query_module_symtab): Likewise.
(read_from_elf_file): Take systemtap_session, check suppress_warnings
before emitting warning.
(read_from_text_file): Likewise.
(get_symtab): Call read_from_elf_file and read_from_text_file with session.
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r-- | dwflpp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ dwflpp::get_module_dwarf(bool required, bool report) if (required) throw semantic_error (msg); - else + else if (! sess.suppress_warnings) cerr << "WARNING: " << msg << "\n"; } } |