mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
proc: refactor: move Process.comm to Process.os.comm
Only used under Linux, no need to have it available on Process itself.
This commit is contained in:
@ -27,7 +27,7 @@ func (t *Thread) halt() (err error) {
|
||||
}
|
||||
|
||||
func (thread *Thread) stopped() bool {
|
||||
state := status(thread.Id, thread.dbp.comm)
|
||||
state := status(thread.Id, thread.dbp.os.comm)
|
||||
return state == STATUS_TRACE_STOP
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user