[603] in Athena Bugs
libgdb.a problems in VS-II 6.0C
daemon@ATHENA.MIT.EDU (noah@ATHENA.MIT.EDU)
Wed Aug 17 14:11:05 1988
From: <noah@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Date: Wed, 17 Aug 88 14:10:36 EDT
The libgdb.a included with 6.0C on the VS-II is incompatible with the rest
of the release. The source provided to release engineering a year ago is
still correct, but the library included in 6.0C does not work. A remake of the
library corrects the problem. I have not yet tried the RT version.
To Reproduce Problem:
The GDB distribution tar file given to release engineering
includes a "samps" sample program directory and Makefile.
Build the programs named "tsr" and "tcl" (a simple server
and client, respectively) and attempt to execute them
on the same 6.0C VS-II. The server requires a
port name such as "gdb_test0" from /etc/services and
the client requires the hostname and service name separated
by a colon. Each echos its syntax if given no arguments.
Start the server first, then the client. The client should
connect to the server and echo all subsequent input in
upper case. If the samples are built using the libgdb.a
supplied with 6.0C (you have to rig the Makefile for that),
the connection is not made. If you rebuild the library
and then build the samples, everything works fine. Conclusion:
the libgdb.a included with 6.0C was not properly built, or
more likely, wasn't rebuilt when something in the rest of the
release changed.
To fix the bug:
Rebuild libgdb.a under the latest release and install.
To avoid in the future:
Use the sample programs provided with GDB to regression
test when re-releasing the system.
Noah