Subject: kern/11295: change curproc marker in DDB's ps listing
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/23/2000 07:44:15
>Number:         11295
>Category:       kern
>Synopsis:       change curproc marker in DDB's ps listing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 23 07:44:00 PDT 2000
>Originator:     Jarle Greipsland
>Release:        2000-10-21
NetBSD 1.5H NetBSD 1.5H (HONEY-$Revision: 1.130 $) #5: Sun Oct 22 15:33:58 CEST 2000 alpha


The current curproc marker in DDB's ps output ('>') together with send-pr
often creates havoc on the contents of the PR whenever ps output is
included.  Several PRs submitted by me have had large portions of their
contents split and moved about in the stored report.  I therefore suggest
that the current marker be changed to '*' (or something else).  

Submit a bug report with a DDB ps listing using send-pr or send-pr.el.
Retrieve the report via the web interface.  Piece together the mangled
RCS file: /cvsroot/syssrc/sys/ddb/db_xxx.c,v
retrieving revision 1.9
diff -u -r1.9 db_xxx.c
--- db_xxx.c    2000/05/25 19:57:36     1.9
+++ db_xxx.c    2000/10/23 14:41:05
@@ -149,7 +149,7 @@
                pp = p->p_pptr;
                if (p->p_stat) {
-                       db_printf("%c%-10d", " >"[curproc == p], p->p_pid);
+                       db_printf("%c%-10d", " *"[curproc == p], p->p_pid);
                        switch (*mode) {