389373 exp-sgcheck the 'impossible' happened as Ist_LoadG is not instrumented
389065 valgrind meets gcc flag -Wlogical-op
390723 make xtree dump files world wide readable, similar to log files
+391861 Massif Assertion 'n_ips >= 1 && n_ips <= VG_(clo_backtrace_size)'
n-i-bz Fix missing workq_ops operations (macOS)
n-i-bz fix bug in strspn replacement
NULL/*array to dump SP values in*/,
NULL/*array to dump FP values in*/,
0/*first_ip_delta*/ );
- if (exclude_first_entry && n_ips > 0) {
- const HChar *fnname;
- VERB(4, "removing top fn %s from stacktrace\n",
+ if (exclude_first_entry) {
+ if (n_ips > 1) {
+ const HChar *fnname;
+ VERB(4, "removing top fn %s from stacktrace\n",
VG_(get_fnname)(VG_(current_DiEpoch)(), ips[0], &fnname)
- ? fnname : "???");
- return VG_(make_ExeContext_from_StackTrace)(ips+1, n_ips-1);
+ ? fnname : "???");
+ return VG_(make_ExeContext_from_StackTrace)(ips+1, n_ips-1);
+ } else {
+ VERB(4, "null execontext as removing top fn with n_ips %d\n", n_ips);
+ return VG_(null_ExeContext) ();
+ }
} else
return VG_(make_ExeContext_from_StackTrace)(ips, n_ips);
}