Use db_lookup_proc() in the DDB 'show procvm' command.
This allows processes to be identified by PID as well as a pointer address. MFC after: 2 weeks Sponsored by: DARPA / AFRL
This commit is contained in:
parent
1c07fe6e4b
commit
6b0130d5b3
@ -4309,7 +4309,7 @@ DB_SHOW_COMMAND(procvm, procvm)
|
||||
struct proc *p;
|
||||
|
||||
if (have_addr) {
|
||||
p = (struct proc *) addr;
|
||||
p = db_lookup_proc(addr);
|
||||
} else {
|
||||
p = curproc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user