From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18921 invoked by alias); 19 Jan 2009 14:11:01 -0000 Received: (qmail 18912 invoked by uid 22791); 19 Jan 2009 14:11:01 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_40 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Jan 2009 14:10:56 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id DC18C290021; Mon, 19 Jan 2009 15:10:53 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hrAgXpCmnzTI; Mon, 19 Jan 2009 15:10:53 +0100 (CET) Received: from province.act-europe.fr (province.act-europe.fr [10.10.0.214]) by mel.act-europe.fr (Postfix) with ESMTP id 51E3F290020; Mon, 19 Jan 2009 15:10:53 +0100 (CET) Received: by province.act-europe.fr (Postfix, from userid 560) id 2CBF2165C54; Mon, 19 Jan 2009 15:10:53 +0100 (CET) Date: Mon, 19 Jan 2009 14:11:00 -0000 From: Jerome Guitton To: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: Add support for --with-system-gdbinit Message-ID: <20090119141053.GE45099@adacore.com> References: <20090114135619.GA24456@caradoc.them.org> <20090114194922.GA13339@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090114194922.GA13339@caradoc.them.org> User-Agent: Mutt/1.5.17 (2007-11-01) 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/msg00419.txt.bz2 Daniel Jacobowitz (drow@false.org): > Having --help print it out sounds wise to me. Maybe we can take this opportunity to print the list of gdbinit loaded in GDB at startup. Something like: [...] --xdb XDB compatibility mode. At startup, GDB reads the following init files and executes their commands: * system-wide init file: /etc/gdb/gdbinit * user-specific init file: /homes/guitton/.gdbinit * local init file: /homes/guitton/work/.gdbinit For more information, type "help" from within GDB, or consult the GDB manual (available as on-line info or a printed manual). [...] Would that make sense?