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:
Derek Parker
2015-10-09 17:21:41 -07:00
parent d8dd9c8d0e
commit 2e71cf2465
3 changed files with 6 additions and 6 deletions

View File

@ -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
}