From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17834 invoked by alias); 8 Apr 2010 00:49:09 -0000 Received: (qmail 17822 invoked by uid 22791); 8 Apr 2010 00:49:08 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Apr 2010 00:49:04 +0000 Received: (qmail 15566 invoked from network); 8 Apr 2010 00:49:03 -0000 Received: from unknown (HELO ?192.168.0.124?) (jie@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Apr 2010 00:49:03 -0000 Message-ID: <4BBD27EB.5050101@codesourcery.com> Date: Thu, 08 Apr 2010 00:49:00 -0000 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tom Tromey CC: gdb-patches@sourceware.org Subject: Re: [RFC] Fix a bug in source file searching References: <4BB01CC6.3090402@codesourcery.com> <4BB2E6F7.4020401@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00169.txt.bz2 On 04/08/2010 04:52 AM, Tom Tromey wrote: >>>>>> "Jie" == Jie Zhang writes: > Jie> And I don't know why GCC adds those dir commands in its .gdbinit. I > Jie> will ask on GCC mailing list. > > I think adding "dir $cdir" at the end of the list of dir commands would > also get the behavior you want. > I have sent a patch to GCC: http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01468.html Jie