make clean doesn't run in gdbserver/common

Joel Brobecker brobecker@adacore.com
Wed Feb 23 04:29:00 GMT 2011


> There are two common dirs in build tree, under gdb/ and gdbserver/
> respectively, so it is not a problem to run 'make distclean' on top of
> gdb build tree.

Aha, OK. Thanks for the explanation.

> When building native gdb, it is redundant here to build libcommon.a for
> the same target twice, but given gdb and gdbserver should be built
> separately, we have to build libcommon.a separately.  Yes, we can think
> of a method to build libcommon.a once when building a native gdb.

Given that this isn't going to work in the cross case (where gdbserver
is going to be cross-compiled), I am not sure that it's really worth
the effort and/or complication (if any).

-- 
Joel



More information about the Gdb mailing list