NetBSD Problem Report #36160

From juan@xtrarom.org  Tue Apr 17 05:50:23 2007
Return-Path: <juan@xtrarom.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1F0A063B964
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Apr 2007 05:50:23 +0000 (UTC)
Message-Id: <20070417055023.17B5016A8E@krb>
Date: Tue, 17 Apr 2007 07:50:23 +0200 (CEST)
From: juan@xtrarom.org
Reply-To: juan@xtrarom.org
To: gnats-bugs@NetBSD.org
Subject: Missing target kvm when crossbuilding from i386 to amd64
X-Send-Pr-Version: 3.95

>Number:         36160
>Category:       toolchain
>Synopsis:       Missing target kvm when crossbuilding from i386 to amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 17 05:55:00 +0000 2007
>Closed-Date:    Mon May 27 13:31:13 +0000 2019
>Last-Modified:  Mon May 27 13:31:13 +0000 2019
>Originator:     Juan RP
>Release:        NetBSD 4.99.17
>Organization:
>Environment:
System: NetBSD nocturno 4.99.17 NetBSD 4.99.17 (Nocturno) #19: Mon Apr 16 22:34:09 CEST 2007 juan@nocturno:/home/juan/build/src/obj/sys/arch/amd64/compile/Nocturno amd64
Architecture: x86_64
Machine: amd64
>Description:
	Some weeks ago I installed NetBSD/amd64 with a snapshot
	built with my i386 box and build.sh -m amd64. Today I wanted
	to use gdb's target kvm to analyze a kernel's core, but
	surprise! there's no existence of it.

$ gdb -v
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
$ 

(gdb) help target
Connect to a target machine or process.
The first argument is the type or protocol of the target machine.
Remaining arguments are interpreted by the target protocol.  For more
information on the arguments for a particular protocol, type
`help target ' followed by the protocol name.

List of target subcommands:

target async -- Use a remote computer via a serial line
target child -- Unix child process (started by the "run" command)
target core -- Use a core file as a target
target exec -- Use an executable file as a target
target extended-async -- Use a remote computer via a serial line
target extended-remote -- Use a remote computer via a serial line
target remote -- Use a remote computer via a serial line

Type "help target" followed by target subcommand name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) 

>How-To-Repeat:
>Fix:
	Yes, please.

>Release-Note:

>Audit-Trail:
From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@NetBSD.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: toolchain/36160: Missing target kvm when crossbuilding from
 i386 to amd64
Date: Tue, 17 Apr 2007 11:50:12 +0200

 On Tue, 17 Apr 2007 05:55:00 +0000 (UTC)
 juan@xtrarom.org wrote:

 Looks like that target kvm depends on kvm... so it will only be
 available when building on native systems.

 Anyway there is not support in gdb6 for amd64! openbsd
 and freebsd got it, but looks like the same code cannot be
 used for us.

 Any toolchain/amd64 guru wants to help?

 -- 
 http://plog.xtrarom.org/
 Juan RP's blog - NetBSD/pkgsrc news in Spanish

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 27 May 2019 13:31:13 +0000
State-Changed-Why:
Duplicate 35597


>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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.