Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Tom Tromey
2011-02-23T16:33:53Z

>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Tom> 2011-02-14 Tom Tromey <tromey@redhat.com>
Tom>
Tom> * configure, aclocal.m4, Makefile.in: Rebuild.
Tom> * dummy-config.h.in: New.
Tom> * configure.ac: Update for automake.
Tom> * Makefile.am: New file.

Yao> Anything block this patch to check in trunk?

Since then I have been wondering why we need build infrastructure in
common/ at all. It seems to me that it can cause problems, but
conversely doesn't provide much benefit.

My reasoning is based on the fact that we are going to be building two
libraries for the foreseeable future. It seems to me that it would be
simpler to just integrate the common/ build rules into
gdbserver/Makefile.in and gdb/Makefile.in.

What do you think of that? I may write a patch to do it.

Tom