From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10320 invoked by alias); 15 Jan 2009 04:10:42 -0000 Received: (qmail 10296 invoked by uid 22791); 15 Jan 2009 04:10:41 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Jan 2009 04:09:50 +0000 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KDH00600VHMEJ00@i-mtaout6.012.net.il> for gdb-patches@sourceware.org; Thu, 15 Jan 2009 06:09:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.202.36]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDH00ERLVKJU630@i-mtaout6.012.net.il>; Thu, 15 Jan 2009 06:09:56 +0200 (IST) Date: Thu, 15 Jan 2009 04:10:00 -0000 From: Eli Zaretskii Subject: Re: Add support for --with-system-gdbinit In-reply-to: <20090114230629.GA8400@caradoc.them.org> To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org, guitton@adacore.com Reply-to: Eli Zaretskii Message-id: References: <20090114135619.GA24456@caradoc.them.org> <20090114194922.GA13339@caradoc.them.org> <20090114203755.GB15499@caradoc.them.org> <20090114230629.GA8400@caradoc.them.org> 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: 2009-01/txt/msg00342.txt.bz2 > Date: Wed, 14 Jan 2009 18:06:29 -0500 > From: Daniel Jacobowitz > Cc: gdb-patches@sourceware.org, guitton@adacore.com > > I understand now. There's an alternative to keeping it in the same > tree: > > --prefix=/my/working/directory --with-system-gdbinit=/etc/gdbinit > > In this version /etc is not relative to $prefix, so it wasn't > redundant. This example may seem a little weird, but it makes more > sense for --with-debug-file-directory; your native system's libraries > are always in /usr/lib/debug, no matter where GDB goes. Thanks for explaining this. Now I'm quite sure this needs to be explained in the manual somewhere, or maybe in INSTALL.