This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: src/ltcf-c.sh
Richard Earnshaw wrote:
>
> dan@cgsoftware.com said:
> > You'd have to use cvs update -dP, in the root dir, but this would then
> > procede to download other stuff you don't want that is in that cvs
> > repository. In this case, your only option is to use checkout.
>
> cvs update -l; cvs update -dP *
>
> does the trick for me. It would miss a new directory being added at the
> top level, but that's a pretty rare event that I'm prepared to live with.
Ah, I think that is because your top level src/CVS directory contains
the file Entries.Static (please don't ask me exactly what that does, I
don't know :-).
Per H.J's comment, the ``correct'' way to do the update is to do a ``cvs
-d `cat src/CVS/Root` co gdb'' in the directory above. It was once
suggested that there be a src/etc/gdb_update file (modeled loosely after
gcc_update). I've no problems with this. I suspect, though, it would
be a lot simpler than GCC's gcc_update as GDB doesn't have those nasty
interdependencies found in GCC.
enjoy,
Andrew