FreeBSD Bugzilla – Attachment 95394 Details for
Bug 133775
[patch] gdb(1) debugscripts: fix proc address print in ps macros
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 978 bytes, created by
citrin
on 2009-04-16 12:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
citrin
Created:
2009-04-16 12:50:01 UTC
Size:
978 bytes
patch
obsolete
>--- tools/debugscripts/gdbinit.kernel.orig 2009-04-16 14:09:42.000000000 +0400 >+++ tools/debugscripts/gdbinit.kernel 2009-04-16 15:33:52.000000000 +0400 >@@ -199,7 +199,7 @@ > set $nproc = nprocs > set $aproc = allproc.lh_first > set $proc = allproc.lh_first >- printf " pid proc uid ppid pgrp flag stat comm wchan\n" >+ printf " pid proc uid ppid pgrp flag stat comm wchan\n" > while (--$nproc >= 0) > set $pptr = $proc.p_pptr > if ($pptr == 0) >@@ -208,7 +208,7 @@ > if ($proc.p_state) > set $thread = $proc->p_threads.tqh_first > while ($thread) >- printf "%5d %08x %4d %5d %5d %06x %d %-10s ", \ >+ printf "%5d %18p %4d %5d %5d %06x %d %-10s ", \ > $proc.p_pid, $aproc, \ > $proc.p_ucred->cr_ruid, $pptr->p_pid, \ > $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133775
: 95394