Report parent of stitched trace.

Thanks to Nick Zavaritsky.
This commit is contained in:
Mike Pall
2016-11-13 20:03:01 +01:00
parent 716f2daef8
commit 7a58a8fb3d
3 changed files with 8 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ end
local function dump_trace(what, tr, func, pc, otr, oex)
if what == "start" then
startloc = fmtfunc(func, pc)
startex = otr and "("..otr.."/"..oex..") " or ""
startex = otr and "("..otr.."/"..(oex == -1 and "stitch" or oex)..") " or ""
else
if what == "abort" then
local loc = fmtfunc(func, pc)