From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25352 invoked by alias); 30 Dec 2014 07:54:44 -0000 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 Received: (qmail 25339 invoked by uid 89); 30 Dec 2014 07:54:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 30 Dec 2014 07:54:43 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C314B1162E5 for ; Tue, 30 Dec 2014 02:54:41 -0500 (EST) 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 gRz0MS5wnGpg for ; Tue, 30 Dec 2014 02:54:41 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6571B1162D5 for ; Tue, 30 Dec 2014 02:54:41 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id B4BEA4100E; Tue, 30 Dec 2014 11:54:37 +0400 (RET) Date: Tue, 30 Dec 2014 07:54:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: RFC: remove "info dll" alias to "info sharedlibraries"? Message-ID: <20141230075437.GG2123@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-12/txt/msg00676.txt.bz2 I noticed that windows-nat's _init function makes use of a deprecated feature: deprecated_init_ui_hook = set_windows_aliases; ... where set_windows_aliases just creates an "info dll" alias to "info sharedlibraries". I think we can rid of the deprecated_init_ui_hook by simply call add_info_alias in the _init function, but I'm actually wondering why we wouldn't be able to just deprecate and then delete the command altogether. We've already trained the users to use the "sharedlibrary" command, so "info sharedlibrary" should be easy, and it'll be more consistent with other targets. Thoughts? Unnecessary, if we can just call add_info_alias in the _initialize function, maybe? -- Joel