From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16967 invoked by alias); 28 Nov 2004 01:26:09 -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 16939 invoked from network); 28 Nov 2004 01:26:04 -0000 Received: from unknown (HELO web53901.mail.yahoo.com) (206.190.36.211) by sourceware.org with SMTP; 28 Nov 2004 01:26:04 -0000 Received: (qmail 34049 invoked by uid 60001); 28 Nov 2004 01:26:04 -0000 Message-ID: <20041128012604.34047.qmail@web53901.mail.yahoo.com> Received: from [61.51.228.193] by web53901.mail.yahoo.com via HTTP; Sat, 27 Nov 2004 17:26:04 PST Date: Sun, 28 Nov 2004 18:01:00 -0000 From: Subject: what is the $cdir and $cwd? To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-11/txt/msg00248.txt.bz2 Is the $cwd the current working directory of the target? And the $cdir the directory is in which the source file was compiled into object code? And how the $cdir save to obj files (add -g when compile or others flags)? Sometime even I use -g, when I use strings file.o I also can't find the source file name in the result, it that mean the source file name is not contained in file.o? How can I control the directory saved to obj files as absolute path or relative path? Thanks in advance gan __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com