From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 666 invoked by alias); 8 May 2013 02:25:21 -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 622 invoked by uid 89); 8 May 2013 02:25:15 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-vc0-f174.google.com (HELO mail-vc0-f174.google.com) (209.85.220.174) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 08 May 2013 02:25:14 +0000 Received: by mail-vc0-f174.google.com with SMTP id hf12so1234126vcb.33 for ; Tue, 07 May 2013 19:25:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=PpAW4CEQo7cgHOgcLa6T1zh4LTCuu3CGJNZcsF6DlBs=; b=Po7qHwumQiYhVVVoNPnxxcF46GcHkrCbDIBE75ARRMlsh5hiT4TEzv+zzVhpttjLWG 2OvKzsVihy6+mQ8bXBeQ7ktr/oqGEGim/6M6UKoU1KQ9d6MKe5gVNGFbot4WICA/15rg Yc585w6QfF3UlJ81LaDlZHEpsC6X/noba5v+Nw0NgCr2mnILP+70EvWZJuHwJVdqLaEb YymgVwj9c0wsbIPRvXJ1YG90/iKPGw2ri3dfyMAa+Dai7EcCkcFYrvRBJmXz5v0mg/J+ HDMxc7LCT//E18SUdkgfboRN3G96cXDJLqAyrXQxLDli5n5XAAofcEBZMOvaHdkIk5CM B5iw== MIME-Version: 1.0 X-Received: by 10.58.200.131 with SMTP id js3mr3149023vec.33.1367979912985; Tue, 07 May 2013 19:25:12 -0700 (PDT) Received: by 10.220.173.7 with HTTP; Tue, 7 May 2013 19:25:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 08 May 2013 02:25:00 -0000 Message-ID: Subject: Re: [RFA, doc RFA] Rename "maint check-symtabs" to "maint check-psymtabs" From: Doug Evans To: gdb-patches Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmQOhw9oPyyfvVAHpRWCT22KDXuD8mlneMdlRWg+EoLhIvs8w+tLyzq+jv3paclCBnX2/NuZmjKGnCt1WPra8/mg4S9uTcmNnlV0jRwjJVJrVa4s/mPDXMXnxZrmiWiRc5VxLhHGMMw28dE5/X3zF8zrKeUiO+w62cEdt/Jz4OfRGmw1NiVE8NyRtvrOOgc6aSvjgF9CqlZ7a3JxM1XhwRcawir6Q== X-SW-Source: 2013-05/txt/msg00263.txt.bz2 On Tue, May 7, 2013 at 6:02 PM, Doug Evans wrote: > Plus, when debugging gdb I'd like to be able to do "maint check-foo" *without* > it changing gdb's state (e.g., resulting in more symtab expansion). > > So this patch does three things: > > 1) Rename "maint check-symtabs" to "maint check-psymtabs". > 2) Add -n option to "maint check-psymtabs" to prevent symtab expansion. > 3) Add "maint check-symtabs". Another way to go, and I like this better, is to add a command that expands symtabs (perhaps based on a regexp), and then have "maint check-psymtabs" not do symtab expansion at all. [I'd prefer it if "maint check-foo" always had a default behaviour of no side effects.]