NetBSD Problem Report #16800
Received: (qmail 26373 invoked from network); 14 May 2002 04:20:24 -0000
Message-Id: <200205140417.g4E4Hor02153@swarm.thistledown.com.au>
Date: Tue, 14 May 2002 04:17:50 GMT
From: simonb@wasabisystems.com
Reply-To: simonb@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: gdb doesn't work on mips with a 64-bit register environment.
X-Send-Pr-Version: 3.95
>Number: 16800
>Category: toolchain
>Synopsis: gdb doesn't work on mips with a 64-bit register environment.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 14 04:21:00 +0000 2002
>Closed-Date: Sun Apr 15 21:48:37 +0000 2012
>Last-Modified: Sun Apr 15 21:48:37 +0000 2012
>Originator: Simon Burge
>Release: NetBSD 1.5ZC (any, really)
>Organization:
Wasabi Systems
>Environment:
System:
NetBSD swarm 1.5ZC NetBSD 1.5ZC (SBMIPS) #465: Fri May 3 15:37:29 EST 2002
simonb@thoreau.thistledown.com.au:/var/tmp/SBMIPS sbmips
Architecture: mipsel
Machine: sbmips
>Description:
Build a mips kernel with _MIPS_BSD_API_LP32_64CLEAN set (as does
the sbmips port) and observe that gdb doesn't work.
>How-To-Repeat:
Run a program that produces a core file, and try to use gdb on that
core file.
swarm:/tmp 10% gdb /usr/pkg/bin/tcsh tcsh.core
GNU gdb 5.0nb1
Copyright 2000 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 "mipsel--netbsd"...(no debugging symbols found)...
Core was generated by `tcsh'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libtermcap.so.0...done.
Loaded symbols for /usr/lib/libtermcap.so.0
Reading symbols from /usr/lib/libcrypt.so.0...done.
Loaded symbols for /usr/lib/libcrypt.so.0
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
#0 0x0 in ?? ()
(gdb)
>Fix:
None given.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: toolchain-manager->thorpej
Responsible-Changed-By: simonb
Responsible-Changed-When: Mon May 13 21:52:26 PDT 2002
Responsible-Changed-Why:
Jason said he'll be responsible for this one
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 06 Jun 2010 19:06:49 +0000
State-Changed-Why:
Is this still a problem with current gdb? I believe it isn't.
Responsible-Changed-From-To: thorpej->toolchain-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 15 Apr 2012 21:48:37 +0000
Responsible-Changed-Why:
Back to role account, thorpej left
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 15 Apr 2012 21:48:37 +0000
State-Changed-Why:
Feedback timeout
>Unformatted:
(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.