"nouserintercepts" can be any non-existing library name).
This new functionality is not implemented for darwin/macosx.
+* The maximum number of callers in a suppression entry is now equal to
+ the maximum size for --num-callers (500).
+ Note that --gen-suppressions=yes|all similarly generate suppression
+ containing up to --num-callers frames.
+
* New and modified GDB server monitor features:
- Valgrind's gdbserver now accepts the command 'catch syscall'.
where XXXXXX is the bug number as listed below.
191069 Exiting due to signal not reported in XML output
+199468 Suppressions: stack size limited to 25 while --num-callers allows more frames
212352 vex amd64 unhandled opc_aux = 0x 2, first_opcode == 0xDC (FCOM)
278744 cvtps2pd with redundant RexW
303877 valgrind doesn't support compressed debuginfo sections.
}
CoreSuppKind;
-/* Max number of callers for context in a suppression. */
-#define VG_MAX_SUPP_CALLERS 24
+/* Max number of callers for context in a suppression is
+ VG_DEEPEST_BACKTRACE. */
/* For each caller specified for a suppression, record the nature of
the caller name. Not of interest to tools. */
// Print stack trace elements
UInt n_ips = VG_(get_ExeContext_n_ips)(ec);
vg_assert(n_ips > 0);
- if (n_ips > VG_MAX_SUPP_CALLERS)
- n_ips = VG_MAX_SUPP_CALLERS;
+ vg_assert(n_ips <= VG_DEEPEST_BACKTRACE);
VG_(apply_StackTrace)(printSuppForIp_nonXML,
text,
VG_(get_ExeContext_StackTrace)(ec),
HChar* tool_names;
HChar* supp_name;
const HChar* err_str = NULL;
- SuppLoc tmp_callers[VG_MAX_SUPP_CALLERS];
+ SuppLoc tmp_callers[VG_DEEPEST_BACKTRACE];
// Check it's not a directory.
if (VG_(is_dir)( filename )) {
supp->count = 0;
// Initialise temporary reading-in buffer.
- for (i = 0; i < VG_MAX_SUPP_CALLERS; i++) {
+ for (i = 0; i < VG_DEEPEST_BACKTRACE; i++) {
tmp_callers[i].ty = NoName;
tmp_callers[i].name_is_simple_str = False;
tmp_callers[i].name = NULL;
BOMB("missing stack trace");
}
}
- if (i == VG_MAX_SUPP_CALLERS)
+ if (i == VG_DEEPEST_BACKTRACE)
BOMB("too many callers in stack trace");
if (i > 0 && i >= VG_(clo_backtrace_size))
break;