mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 02:07:58 +08:00
proc: add runtime.mcall to top of stack function
This commit is contained in:
@ -135,7 +135,7 @@ func (it *stackIterator) Next() bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// Look for "top of stack" functions.
|
// 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
|
it.atend = true
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user