From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29385 invoked by alias); 18 Dec 2012 16:48:25 -0000 Received: (qmail 29244 invoked by uid 22791); 18 Dec 2012 16:48:22 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Dec 2012 16:47:46 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBIGljCh030920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Dec 2012 11:47:45 -0500 Received: from host2.jankratochvil.net (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qBIGlfMB028225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 18 Dec 2012 11:47:44 -0500 Date: Tue, 18 Dec 2012 16:48:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Add system-gdbinit infrastructure Message-ID: <20121218164741.GB23234@host2.jankratochvil.net> References: <1355846036-7645-1-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1355846036-7645-1-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-12/txt/msg00643.txt.bz2 Hi Joel, --with-system-gdbinit is used to enable something like for example Fedora uses /etc/gdbinit. But this provides only a single init file which is a problem for various optionally installed packages each needing to install its own system-wide gdb init file (such as older versions of the gdb-heap package). Unfortunately GDB does not support wildcards for the "source" command for: /etc/gdbinit: source /etc/gdbinit.d/* which is why only a single file is possible that way. But I do not see this problem solved in your patch, how do you execute those files? Besides that I find such files more as configuration files where read-only $(GDB_DATADIR) is not a suitable location. But maybe we both talk about two unrelated features. Regards, Jan