From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26087 invoked by alias); 13 Feb 2004 04:23:14 -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 26049 invoked from network); 13 Feb 2004 04:23:07 -0000 Received: from unknown (HELO babyruth.hotpop.com) (38.113.3.61) by sources.redhat.com with SMTP; 13 Feb 2004 04:23:07 -0000 Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103]) by babyruth.hotpop.com (Postfix) with SMTP id ACBD3109B84 for ; Fri, 13 Feb 2004 04:21:01 +0000 (UTC) Received: from munco (unknown [203.129.254.138]) by smtp-1.hotpop.com (Postfix) with SMTP id 7E4871A0220; Fri, 13 Feb 2004 03:59:50 +0000 (UTC) Message-ID: <010701c3f1e8$e5b8b520$2b0110ac@munco> From: "murugesan" To: "Bob Rossi" Cc: 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> <20040212130720.GA3926@white> Subject: Re: how to include subdirectories too, for the source directory Date: Fri, 13 Feb 2004 04:23:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-SW-Source: 2004-02/txt/msg00131.txt.bz2 Thanks BOB &Michael. I am off way in my attempt. Regards, Murugesan ----- Original Message ----- From: Bob Rossi To: murugesan Cc: gdb@sources.redhat.com Sent: Thursday, February 12, 2004 6:37 PM Subject: Re: how to include subdirectories too, for the source directory 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