From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29301 invoked by alias); 12 Feb 2004 13:07:24 -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 29290 invoked from network); 12 Feb 2004 13:07:21 -0000 Received: from unknown (HELO lakemtao01.cox.net) (68.1.17.244) by sources.redhat.com with SMTP; 12 Feb 2004 13:07:21 -0000 Received: from white ([68.9.64.121]) by lakemtao01.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040212130721.YUYH13731.lakemtao01.cox.net@white>; Thu, 12 Feb 2004 08:07:21 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1ArGYq-00011Y-00; Thu, 12 Feb 2004 08:07:20 -0500 Date: Thu, 12 Feb 2004 13:07:00 -0000 From: Bob Rossi To: murugesan Cc: gdb@sources.redhat.com Subject: Re: how to include subdirectories too, for the source directory Message-ID: <20040212130720.GA3926@white> Mail-Followup-To: murugesan , gdb@sources.redhat.com References: <4027E74B.6090805@gnu.org> <20040209223227.GA7344@nevyn.them.org> <40294BA1.3020906@gnu.org> <20040210222616.GA32636@nevyn.them.org> <006d01c3f051$f7a5c7c0$2e0110ac@mukco> <059201c3f14e$ac8200d0$2b0110ac@munco> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <059201c3f14e$ac8200d0$2b0110ac@munco> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-02/txt/msg00124.txt.bz2 On Thu, Feb 12, 2004 at 03:27:40PM +0530, murugesan wrote: > Hello all, > I need to include a directory (including it's subdirectories ). I did > that with > gdb --directory=home --directory=/home/sub1 --directory=/home/sub2 > ............ > > Is there a way to get out from this riddle to include recursively the > subdirectories. Generate the names given a directory with a command. For example, (find directoryName -type d | perl -pi -e 's/(.*)/--directory=$1/') That will generate a '--directory=dir' for every directory in directoryName. What you need looks like it can easily be accomplished outside of GDB. Bob Rossi