mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Suppress a couple more messages when -q applies.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1821
This commit is contained in:
parent
76b167b551
commit
f08f0f0ca3
@ -601,7 +601,7 @@ void VG_(do__NR_sigaction) ( ThreadId tid )
|
||||
return;
|
||||
|
||||
bad_signo:
|
||||
if (VG_(needs).core_errors)
|
||||
if (VG_(needs).core_errors && VG_(clo_verbosity) >= 1)
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"Warning: bad signal number %d in __NR_sigaction.",
|
||||
signo);
|
||||
@ -609,7 +609,7 @@ void VG_(do__NR_sigaction) ( ThreadId tid )
|
||||
return;
|
||||
|
||||
bad_sigkill_or_sigstop:
|
||||
if (VG_(needs).core_errors)
|
||||
if (VG_(needs).core_errors && VG_(clo_verbosity) >= 1)
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"Warning: attempt to set %s handler in __NR_sigaction.",
|
||||
signo == VKI_SIGKILL ? "SIGKILL" : "SIGSTOP" );
|
||||
|
||||
@ -399,8 +399,10 @@ void MAC_(do_detect_memory_leaks) (
|
||||
|
||||
if (lc_n_shadows == 0) {
|
||||
sk_assert(lc_shadows == NULL);
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"No malloc'd blocks -- no leaks are possible.");
|
||||
if (VG_(clo_verbosity) >= 1) {
|
||||
VG_(message)(Vg_UserMsg,
|
||||
"No malloc'd blocks -- no leaks are possible.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user