From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22176 invoked by alias); 24 Sep 2012 16:27:11 -0000 Received: (qmail 22151 invoked by uid 22791); 24 Sep 2012 16:27:06 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Sep 2012 16:26:47 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8OGQkRp014001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Sep 2012 12:26:46 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q8OGQihE005939; Mon, 24 Sep 2012 12:26:45 -0400 Message-ID: <506089C4.6040407@redhat.com> Date: Mon, 24 Sep 2012 16:27:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Joel Brobecker CC: gdb-patches@sourceware.org Subject: Re: [PATCH 4/4] Delete unused functions in sol-thread.c. References: <1348158841-2313-1-git-send-email-brobecker@adacore.com> <1348158841-2313-5-git-send-email-brobecker@adacore.com> <505B52EA.5080908@redhat.com> <20120920214340.GB5423@adacore.com> <20120920222447.GC5423@adacore.com> <20120920222534.GA28592@adacore.com> In-Reply-To: <20120920222534.GA28592@adacore.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-09/txt/msg00514.txt.bz2 On 09/20/2012 10:43 PM, Joel Brobecker wrote: > And the next step I propose, to finish the work, is to move these > functions to their own file (sol-sparc-thread.c). We would then > only build that file for sparc-solaris native GDB. Fine with me either way. > > gdb/ChangeLog: > > * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): > Move these functions to sol-sparc-thread.c. > * sol-sparc-thread.c: New file. Following gdb naming de facto convention this new file would be named sparc-sol-thread.c though (as e.g., amd64-linux-nat.c, etc.). -- Pedro Alves