NetBSD Problem Report #55341

From  Wed Jun  3 17:49:34 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 2F0BD1A9217
	for <>; Wed,  3 Jun 2020 17:49:34 +0000 (UTC)
Message-Id: <>
Date: Wed,  3 Jun 2020 19:49:24 +0200 (CEST)
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
The NetBSD Foundation, Inc.
System: NetBSD 9.99.64 NetBSD 9.99.64 (GENERIC) #396: Sun May 31 11:06:59 CEST 2020 amd64
Architecture: x86_64
Machine: amd64

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.



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.