NetBSD Problem Report #2356

From gnats  Mon Apr 29 16:12:39 1996
Received: from ns2.scsn.net by pain.lcs.mit.edu (8.7.4/8.6.12) with ESMTP id QAA26537 for <gnats-bugs@gnats.netbsd.org>; Mon, 29 Apr 1996 16:02:40 -0400 (EDT)
Message-Id: <199604281851.OAA00253@rhiannon>
Date: Sun, 28 Apr 1996 14:51:45 -0400
From: dmaddox@scsn.net (Donald J. Maddox)
Reply-To: dmaddox@scsn.net
To: gnats-bugs@gnats.netbsd.org
Subject: Kernel build fails if options KGDB defined
X-Send-Pr-Version: 3.95

>Number:         2356
>Category:       port-amiga
>Synopsis:       If options KGDB is defined, Amiga kernel fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amiga-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 16:20:02 +0000 1996
>Closed-Date:    Sun Jun 26 07:20:41 +0000 2016
>Last-Modified:  Sun Jun 26 07:20:41 +0000 2016
>Originator:     Donald J. Maddox
>Release:        1.1
>Organization:
                                          Donald J. Maddox
                                          dmaddox@scsn.net
>Environment:

System: NetBSD rhiannon.scsn.net 1.1B NetBSD 1.1B (RHIANNON) #27: Sat Apr 27 17:48:59 EDT 1996 dmaddox@rhiannon.scsn.net:/usr/src/sys/arch/amiga/compile/RHIANNON amiga
Architecture: amiga

>Description:

	When the kernel config file includes options KGDB, the kernel 
build fails because arch/amiga/dev/ser.c tries to include 
the file machine/remote-sl.h, which does not exist.

>How-To-Repeat:

	Add options KGDB to your config, try to build a kernel, and watch 
it fail.

>Fix:
        Write the needed machine/remote-sl.h file... ;-)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->port-amiga-maintainer 
Responsible-Changed-By: fair 
Responsible-Changed-When: Mon Dec 28 09:33:38 PST 1998 
Responsible-Changed-Why:  
This PR is the responsibility of the portmaster, 
not the GNATS database administrator. 
State-Changed-From-To: open->suspended 
State-Changed-By: tv 
State-Changed-When: Mon Dec 17 12:18:46 PST 2001 
State-Changed-Why:  
There's no provision for KGDB in src/sys/arch/amiga/conf as of today, 
so this may or may not work.  The issue would then be to *add* proper 
kgdb support to port-amiga. 
State-Changed-From-To: suspended->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Jun 2016 06:41:28 +0000
State-Changed-Why:
Unsuspend this - it is not waiting on any external entity.


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Jun 2016 07:20:41 +0000
State-Changed-Why:
Upon review:
  - this still happens
  - there's a remote-sl.h in x68k/include (and an identical copy in sparc)
    that one might be able to steal from
  - the KGDB support in ser.c is clearly at most partial
  - so even with remote-sl.h it still won't work (if you comment out the
    include, kgdb_m68k.c doesn't compile with T_SSIR missing)
  - conclusion: there is no KGDB support in port-amiga yet

Given the age of the hardware, the difficulty of testing without hardware
access, and the fact that nobody's taken the time to work on KGDB for amiga
in the past twenty years, I think the conclusion is WONTFIX. If anyone
wants to prepare patches, though, by all means send them along.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.