From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7340 invoked by alias); 11 Jun 2009 19:24:25 -0000 Received: (qmail 7325 invoked by uid 22791); 11 Jun 2009 19:24:21 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Jun 2009 19:24:14 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9057B2BAAEE; Thu, 11 Jun 2009 15:24:12 -0400 (EDT) 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 XCDV5-57d17M; Thu, 11 Jun 2009 15:24:12 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4A5CA2BAADF; Thu, 11 Jun 2009 15:24:12 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1A65CF596C; Thu, 11 Jun 2009 15:24:10 -0400 (EDT) Date: Thu, 11 Jun 2009 19:24:00 -0000 From: Joel Brobecker To: Aleksandar Ristovski Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] nto target: Code cleanup Message-ID: <20090611192410.GK25703@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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 X-SW-Source: 2009-06/txt/msg00313.txt.bz2 > * i386-nto-tdep.c (i386_nto_target): Remove definition. > (init_i386nto_ops): Use macros to set fields to global > current_nto_target directly. > (i386nto_init_abi): Remove unused nto_set_target call. > * nto-tdep.h (nto_set_target): Remove unused declaration. > * nto-tdep.c (nto_set_target): Remove unused function. Thanks for extracting this part out. This is OK. I'm wondering how the other targets do this sort of thing, but my brain seem to be refusing to function at the moment... -- Joel