Subject: PR's 7565, 8156 - gdb step'ing is broken.
To: None <port-arm32@netbsd.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: port-arm32
Date: 09/14/1999 22:53:21
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