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
8266737023
commit
a9546a6b17
@ -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