From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1761 invoked by alias); 7 Aug 2003 15:08:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1752 invoked from network); 7 Aug 2003 15:08:20 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 7 Aug 2003 15:08:20 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id IAA17461; Thu, 7 Aug 2003 08:08:17 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma017455; Thu, 7 Aug 03 08:08:15 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h77F8H304341; Thu, 7 Aug 2003 08:08:17 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id IAA26125; Thu, 7 Aug 2003 08:08:17 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16178.27489.419187.594504@casey.transmeta.com> Date: Thu, 07 Aug 2003 15:08:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: cvs update In-Reply-To: <20030807113218.GA21231@white> References: <20030807113218.GA21231@white> X-SW-Source: 2003-08/txt/msg00101.txt.bz2 Bob Rossi writes: > Hi, > > When doing a 'cvs update' do I have to do it from the top level? > or can I do it from src/gdb? You _could_ do it from either, but obviously if you do it in src/gdb you're not going to update any sibling directories like bfd or include. > I don't know if gdb depends on binutils, ... for running on the host. "Binutils" is ambiguous, unfortunately. Assuming you mean the src/binutils directory then "no", gdb doesn't need anything in there. If you mean the various pieces that make up the binutils package (e.g. binutils-2.14) then "sorta", both contain directories bfd,include,opcodes which both need. If built separately each would have their own copies of these dirs. If one has checked out both gdb and binutils into a common tree then they both share these dirs. > If I do need to update several packages, is there a list? or should I > just do it from the top level? The problem with doing a cvs update is that it won't bring in new directories by default. Generally there are none, but it does happen. You can fix this by adding the -d parameter (cvs update -d) but you DON'T want to do that at the top level because it will drag in every other sibling directory of gdb, even ones not part of the modules you originally checked out. One s.o.p. is to checkout a module and then always update the same way as you checked out. That way you always update all the dependencies as a matter of course. i.e. if you did you're cvs checkout with: bash$ cvs -d ':pserver:anoncvs@sources.redhat.com:/cvs/src' checkout gdb then always updated the same way: bash$ cvs -d ':pserver:anoncvs@sources.redhat.com:/cvs/src' checkout gdb (and remember to run the second checkout in the parent of src of course). Or, if you checked out both gdb and binutils, say with: bash$ cvs -d ':pserver:anoncvs@sources.redhat.com:/cvs/src' checkout gdb binutils then, again, update the same way: bash$ cvs -d ':pserver:anoncvs@sources.redhat.com:/cvs/src' checkout gdb binutils