NetBSD Problem Report #8408

Received: (qmail 441 invoked from network); 14 Sep 1999 12:53:30 -0000
Message-Id: <199909141253.WAA12283@avalon.reed.wattle.id.au>
Date: Tue, 14 Sep 1999 22:53:21 +1000 (EST)
From: Darren Reed <darrenr@reed.wattle.id.au>
To: port-arm32@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: PR's 7565, 8156 - gdb step'ing is broken.

>Number:         8408
>Category:       port-arm32
>Synopsis:       PR's 7565, 8156 - gdb step'ing is broken.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm32-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 14 06:05:00 +0000 1999
>Closed-Date:    Sun May 28 04:53:58 +0000 2000
>Last-Modified:  Sun May 28 04:53:58 +0000 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
I tested the patch in bin/7565 with the gdb source from 1.4 and it does
not fix the problem:

# /usr/src/gnu/usr.bin/gdb/gdb arm-unknown-netbsd1.4/nsyslogd 
...
This GDB was configured as "arm--netbsd"...
(gdb) break main
Breakpoint 1 at 0x1303c: file main.c, line 614.
(gdb) run -dvf trivial
Starting program: /home/darrenr/src/nsyslogd/arm-unknown-netbsd1.4/nsyslogd -dvf trivial

Breakpoint 1, main (argc=3, argv=0xefbfd6ec) at main.c:614
614             int killflag = 0, reloadflag = 0;
(gdb) step
621             tzset();
(gdb) 
622             if (!(progname = strrchr(argv[0], '/')))
(gdb) 
625                     progname++;
(gdb) 
627             bzero((char *)&act, sizeof(act));
(gdb) 
Reading configuration from trivial
error opening logfile /dev/klog: Device busy
bind failed: Address already in use
...

Or at least doing a "make includes" in usr/src/gnu and "make" in the
usr/src/gnu/usr.bin/gdb directory did not generate a `fixed' gdb.

Has anyone else tested the patch in bin/7565 and had it work for them ?

Darren
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->port-arm32-maintainer 
Responsible-Changed-By: fair 
Responsible-Changed-When: Thu Sep 30 01:44:02 PDT 1999 
Responsible-Changed-Why:  
This is a NetBSD?arm32 gdb problem... 
State-Changed-From-To: open->closed 
State-Changed-By: darrenr 
State-Changed-When: Sat May 27 21:53:35 PDT 2000 
State-Changed-Why:  
comments merged into 8156 
>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.