NetBSD Problem Report #1017

From gnats  Wed May  3 10:29:20 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id KAA12897 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 3 May 1995 10:29:19 -0700
Message-Id: <199505031726.CAA02330@pfault.spa.is.uec.ac.jp>
Date: Thu, 4 May 1995 02:26:19 +0900
From: Masanobu Saitoh <saitoh@spa.is.uec.ac.jp>
Reply-To: saitoh@spa.is.uec.ac.jp
To: gnats-bugs@NetBSD.ORG
Subject: ddb can't execute 'c' command
X-Send-Pr-Version: 3.2

>Number:         1017
>Category:       port-i386
>Synopsis:       ddb can't execute 'c' command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 03 10:35:01 +0000 1995
>Closed-Date:    Wed May 03 20:48:51 +0000 1995
>Last-Modified:  
>Originator:     Masanobu Saitoh
>Release:        -current 95/05/03
>Organization:
The University of Electro-Communications
>Environment:

NetBSD mincore.spa.is.uec.ac.jp 1.0A NetBSD 1.0A (ISYS) #36: Wed May  3 18:29:31 JST 1995     saitoh@mincore.spa.is.uec.ac.jp:/var/sources/0503/src/sys/arch/i386/compile/ISYS i386

>Description:
	In DDB, continue command can't execute.
	This is caused by pccnpollc()'s bug.

>How-To-Repeat:
	Push CTRL-ALT-ESC, 'c' and RERUEN.
>Fix:

	Apply this patch.

--- ORGpccons.c	Wed May  3 18:08:23 1995
+++ NEWpccons.c	Wed May  3 01:58:05 1995
@@ -776,6 +776,7 @@
 	polling = on;
 	if (!on) {
 		register int s;
+		struct pc_softc *sc = pccd.cd_devs[PCUNIT(dev)];

 		/*
 		 * If disabling polling, make sure there are no bytes left in
@@ -783,7 +784,7 @@
 		 * won't get any further interrupts.
 		 */
 		s = spltty();
-		pcintr(0);
+		pcintr(sc);
 		splx(s);
 	}
 }	
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Wed May 3 13:48:51 PDT 1995 
State-Changed-Why:  
Fixed, differently. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.