From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12960 invoked by alias); 24 Sep 2012 07:30:09 -0000 Received: (qmail 12932 invoked by uid 22791); 24 Sep 2012 07:30:06 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Sep 2012 07:29:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CDBD51C64E8; Mon, 24 Sep 2012 03:29:47 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sGxeEaS9n-VW; Mon, 24 Sep 2012 03:29:47 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8455E1C6156; Mon, 24 Sep 2012 03:29:47 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id C552ACBC5C; Mon, 24 Sep 2012 09:29:45 +0200 (CEST) Date: Mon, 24 Sep 2012 07:30:00 -0000 From: Joel Brobecker To: Khoo Yit Phang Cc: Jan Kratochvil , GDB Patches Subject: Re: [PATCH 2/2] Try to initialize data-directory by first searching for "data-directory" in the same directory as the gdb binary Message-ID: <20120924072945.GA4146@adacore.com> References: <21ACC598-F6B4-4117-BA7B-B316414DE9E3@cs.umd.edu> <20120919130040.GA20442@host2.jankratochvil.net> <20120921183122.GB8747@host2.jankratochvil.net> <20120922110822.GA28159@host2.jankratochvil.net> <78B3333C-92F9-474D-8352-087C5A0F575B@cs.umd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78B3333C-92F9-474D-8352-087C5A0F575B@cs.umd.edu> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-09/txt/msg00488.txt.bz2 > Personally, I'm not fond of either my patch or yours, since they hard > code parts of the build directory into the binary (whether > "data-directory" or "gdb/data-directory"). In either case, they can > lead to weird, difficult-to-understand behavior (possibly even > dangerous) in the off chance that one those directory exist. I'd > rather leave it out. Well, for my part, I cannot wait for this patch to go in, because I've grown accustomed to being able to just run the GDB from the build directory. Having to install it now is an important downer for me. -- Joel