I give up. I can't spend the rest of my half-life fixing other people's bugs. But on the off chance somebody cares about SW quality, the latest, greatest FreeBSD 4.5-RELEASE #0 comes complete with GNU gdb 4.18, Copyright 1998.
What's worse, gdb4.18 under i386 FreeBSD can run child progs *only* in a user's homedir, despite all attempts at "-cd= other_dir" command line args, despite "cd" commands supposedly obeyed (according to "pwd") by the "(gdb)" prompt. Shame on FreeBSD for shipping 4.5 with a bug-ridden and old gdb. So I spend an hour downloading the newest stable 13 meg gdb-5.1.1 tarzball from FSF, configure sees my system as "i386-unknown-freebsd4.5", but then make fails the build: gcc -DHAVE_CONFIG_H -I. -I../gdb-5.1.1/bfd -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I../gdb-5.1.1/bfd -I../gdb-5.1.1/bfd/../include -I../gdb-5.1.1/bfd/../intl -I../intl -W -Wall -g -O2 -c ../gdb-5.1.1/bfd/trad-core.c -o trad-core.o ../gdb-5.1.1/bfd/trad-core.c: In function `trad_unix_core_file_p': ../gdb-5.1.1/bfd/trad-core.c:99: structure has no member named `u_dsize' ../gdb-5.1.1/bfd/trad-core.c:104: structure has no member named `u_ssize' ../gdb-5.1.1/bfd/trad-core.c:121: structure has no member named `u_dsize' ../gdb-5.1.1/bfd/trad-core.c:125: structure has no member named `u_ssize' ../gdb-5.1.1/bfd/trad-core.c:132: structure has no member named `u_dsize' ../gdb-5.1.1/bfd/trad-core.c:132: structure has no member named `u_ssize' ../gdb-5.1.1/bfd/trad-core.c:182: structure has no member named `u_dsize' ../gdb-5.1.1/bfd/trad-core.c:187: structure has no member named `u_ssize' ../gdb-5.1.1/bfd/trad-core.c:195: structure has no member named `u_tsize' ../gdb-5.1.1/bfd/trad-core.c:201: structure has no member named `u_ssize' ../gdb-5.1.1/bfd/trad-core.c:218: structure has no member named `u_ar0' ../gdb-5.1.1/bfd/trad-core.c:221: structure has no member named `u_dsize' ../gdb-5.1.1/bfd/trad-core.c: In function `trad_unix_core_file_failing_signal': ../gdb-5.1.1/bfd/trad-core.c:260: structure has no member named `u_sig' ../gdb-5.1.1/bfd/trad-core.c:264: warning: control reaches end of non-void function *** Error code 1 Stop in /var/gdb/bfd. _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb
