From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24093 invoked by alias); 21 Jul 2014 23:29:13 -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 24076 invoked by uid 89); 21 Jul 2014 23:29:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 21 Jul 2014 23:29:11 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6LNT9Wg028955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 21 Jul 2014 19:29:09 -0400 Received: from barimba (ovpn-113-27.phx2.redhat.com [10.3.113.27]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6LNT6bl008200 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Mon, 21 Jul 2014 19:29:08 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: Re: [PATCH] fix to_open debug setting References: <1405975154-19517-1-git-send-email-tromey@redhat.com> Date: Tue, 22 Jul 2014 13:10:00 -0000 In-Reply-To: <1405975154-19517-1-git-send-email-tromey@redhat.com> (Tom Tromey's message of "Mon, 21 Jul 2014 14:39:14 -0600") Message-ID: <87ha2as33y.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-07/txt/msg00548.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> This patch fixes the problem by using a generic function as the Tom> implementation of the various "target" subcommands, and then putting Tom> the debug printing there. Later I happened to notice that add_deprecated_target_alias could use the same treatment. I'll send the new patch tomorrow. Tom