NetBSD Problem Report #11295
Received: (qmail 18197 invoked from network); 23 Oct 2000 14:43:56 -0000
Message-Id: <200010231443.QAA03514@natteravn.runit.sintef.no>
Date: Mon, 23 Oct 2000 16:43:25 +0200 (MEST)
From: jarle@runit.no
Reply-To: jarle@runit.no
To: gnats-bugs@gnats.netbsd.org
Subject: change curproc marker in DDB's ps listing
X-Send-Pr-Version: 3.95
>Number: 11295
>Category: kern
>Synopsis: change curproc marker in DDB's ps listing
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: dholland
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 23 14:44:00 +0000 2000
>Closed-Date:
>Last-Modified: Sat May 22 05:15:00 +0000 2021
>Originator: Jarle Greipsland
>Release: 2000-10-21
>Organization:
RUNIT as
>Environment:
NetBSD honey.runit.no 1.5H NetBSD 1.5H (HONEY-$Revision: 1.130 $) #5: Sun Oct 22 15:33:58 CEST 2000 jarle@honey.runit.no:/usr/src/sys/arch/alpha/compile/HONEY alpha
>Description:
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).
>How-To-Repeat:
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
report.
>Fix:
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) {
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->jhawk
Responsible-Changed-By: jhawk
Responsible-Changed-When: Fri Oct 27 21:47:23 PDT 2000
Responsible-Changed-Why:
ddb is mine.
Personally, I think the right approach would be to fix the PR interface
to not lose in this fashion, though. Needs some thought.
Responsible-Changed-From-To: jhawk->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sat, 22 May 2021 00:23:50 +0000
Responsible-Changed-Why:
gnats lossage is my domain
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: dholland@netbsd.org, jhawk@netbsd.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, jarle@runit.no
Subject: re: kern/11295 (change curproc marker in DDB's ps listing)
Date: Sat, 22 May 2021 15:14:11 +1000
these are 'curlwp' markers now. you can find this still
being a problem via eg:
crash> show proc 0
[ .. ]
> lwp 97 [idle/3] ffffc81b48b992c0 pcb ffff93849ac02000
(i would rather fix gnats, but this i not often a problem now,
as the 'ps' output doesn't use this format anymore. i had to
search to find it, since i never use this method.)
.mrg.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.