This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: CVS Head Compile Failure
On Mon, Mar 2, 2009 at 11:33 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> Thanks. ?I have been avoiding "cvs up -Pd" ?since it pulls
>> in the rest of the one build tree but apparently it was
>> needed this time.
>>
>> It builds now.
>
> Excellent. I avoid the "-d" switch too, for the very same reason.
> I don't know if you did a "cvs up -d common" or a plain "cvs up -d",
> but you might have pulled more than necessary (in particular in
> the testsuite directory, such as testsuite/gdb.tk), and that might
> cause you some trouble later. When I need to pull one directory,
> I specify exactly which one I want.
One useful idiom of cvs is not use "cvs update" to update. Instead
just re-checkout the module.
cvs up -Pd is annoying in the top level directory (src), yes.
In subdirectories it _should_ be just fine, and in pretty much every
subdirectory it is (opcodes, bfd, include, etc.).
Alas in gdb it isn't necessarily what you want because it brings in gdbtk.