NetBSD Problem Report #55341

From martin@aprisoft.de  Wed Jun  3 17:49:34 2020
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2F0BD1A9217
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  3 Jun 2020 17:49:34 +0000 (UTC)
Message-Id: <20200603174924.94B485CC864@emmas.aprisoft.de>
Date: Wed,  3 Jun 2020 19:49:24 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: ddb pager's 'q' command does not work in during ddb.commandonenter
X-Send-Pr-Version: 3.95

>Number:         55341
>Category:       kern
>Synopsis:       ddb pager's 'q' command does not work in during ddb.commandonenter
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 03 17:50:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.64
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.64 NetBSD 9.99.64 (GENERIC) #396: Sun May 31 11:06:59 CEST 2020 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

When entering ddb (e.g. on panic) with

	ddb.commandonenter = trace;show registers

quite a bit of output can be caused, which might be slow on a slow console
or otherwise unwanted. When the ddb pager asks for --db_more-- it usually
accepts 'q' as an answer and longjmps to the command loop (via db_error(0)).

This does not (yet) work during commandonenter handling.

>How-To-Repeat:
s/a

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(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.