proc: add runtime.mcall to top of stack function

This commit is contained in:
aarzilli
2016-03-23 09:16:48 +01:00
committed by Derek Parker
parent 497b526194
commit 0f4b7ce8c7

View File

@ -135,7 +135,7 @@ func (it *stackIterator) Next() bool {
return true
}
// Look for "top of stack" functions.
if it.frame.Current.Fn.Name == "runtime.goexit" || it.frame.Current.Fn.Name == "runtime.rt0_go" {
if it.frame.Current.Fn.Name == "runtime.goexit" || it.frame.Current.Fn.Name == "runtime.rt0_go" || it.frame.Current.Fn.Name == "runtime.mcall" {
it.atend = true
return true
}