From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15461 invoked by alias); 4 Jul 2008 02:33:40 -0000 Received: (qmail 15289 invoked by uid 22791); 4 Jul 2008 02:33:39 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jul 2008 02:33:21 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m642WuRx032084; Thu, 3 Jul 2008 22:32:56 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m642Wt7r017925; Thu, 3 Jul 2008 22:32:55 -0400 Received: from opsy.redhat.com (vpn-10-113.bos.redhat.com [10.16.10.113]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m642Wshi011800; Thu, 3 Jul 2008 22:32:55 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 5921437819D; Thu, 3 Jul 2008 20:32:54 -0600 (MDT) To: Thiago Jung Bauermann Cc: Joel Brobecker , gdb@sourceware.org Subject: Re: GDB Focus Group at the 2008 GCC Summit References: <20080619190942.GA3744@adacore.com> <1215055590.6789.1.camel@localhost.localdomain> <20080703123426.GA6795@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Fri, 04 Jul 2008 02:33:00 -0000 In-Reply-To: <20080703123426.GA6795@caradoc.them.org> (Daniel Jacobowitz's message of "Thu\, 3 Jul 2008 08\:34\:26 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00028.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> Here's a suggestion: $builtin, like the bash 'builtin' builtin (can't Daniel> believe I just wrote that sentence). That would let us recover any Daniel> lost functions. Well, they aren't really built-in, so maybe some Daniel> other name. The idea of having two names for each, one more Daniel> convenient and the other more robust. WDYT? This is fine except for 'set $builtin = 0'. I am not really concerned about it though. Actually it would be fine by me to install things as both $gdb_whatever and $whatever by default, not worry if users overwrite $whatever, and try to have scripts always use the namespaced form. The current code installs the documentation under "help function name". But if the user does "set $other = $name; help function other", he won't get anything sensible. Perhaps 'help' needs a special case; but then command completion needs a special case too. Tom