From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35872 invoked by alias); 13 Oct 2017 21:00:04 -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 35738 invoked by uid 89); 13 Oct 2017 21:00:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Those X-HELO: gproxy9-pub.mail.unifiedlayer.com Received: from gproxy9-pub.mail.unifiedlayer.com (HELO gproxy9-pub.mail.unifiedlayer.com) (69.89.20.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Oct 2017 20:59:59 +0000 Received: from cmgw4 (unknown [10.0.90.85]) by gproxy9.mail.unifiedlayer.com (Postfix) with ESMTP id BABFA1E0757 for ; Fri, 13 Oct 2017 14:59:57 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by cmgw4 with id M8zu1w00U2f2jeq018zx5m; Fri, 13 Oct 2017 14:59:57 -0600 X-Authority-Analysis: v=2.2 cv=JNNLi4Cb c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=02M-m0pO-4AA:10 a=rx18AyDR9XAsGwrvWGoA:9 Received: from 184-96-33-178.hlrn.qwest.net ([184.96.33.178]:58848 helo=bapiya.localdomain) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1e373i-002gg4-AG for gdb-patches@sourceware.org; Fri, 13 Oct 2017 14:59:54 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [RFA 0/8] Constify many commands Date: Fri, 13 Oct 2017 21:00:00 -0000 Message-Id: <20171013205950.22943-1-tom@tromey.com> X-BWhitelist: no X-Exim-ID: 1e373i-002gg4-AG X-Source-Sender: 184-96-33-178.hlrn.qwest.net (bapiya.localdomain) [184.96.33.178]:58848 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-SW-Source: 2017-10/txt/msg00373.txt.bz2 This series changes add_abbrev_prefix_cmd, add_com_suppress_notification, and add_com to take cmd_const_cfunc_ftype rather than cmd_cfunc_ttype; then cleans up all the users. Some cleanups are removed as well, because changes were already needed in some areas where moving to the cleanup-free style was more convenient. This probably overlaps a bit with some of my other breakpoint patches. Those are still waiting for feedback. Most of the patches are straightforward. Patch #7 adds a new function to deal with how "list" and "x" work. Patch #8 removes some non-const overloads that were added in a previous series; but also adds some new ones. The eventual conversion of add_info should remove these. Regression tested by the buildbot. I also built (but did not regtest) each patch (that is, each spot in the series at least compiles). Tom