From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16167 invoked by alias); 13 Oct 2014 20:21:03 -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 16158 invoked by uid 89); 13 Oct 2014 20:21:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD 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, 13 Oct 2014 20:21:02 +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 s9DKKxE7007958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Oct 2014 16:21:00 -0400 Received: from localhost.localdomain (ovpn-112-31.ams2.redhat.com [10.36.112.31]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9DKKwLx016105; Mon, 13 Oct 2014 16:20:59 -0400 Message-ID: <543C342A.2080303@redhat.com> Date: Mon, 13 Oct 2014 20:21:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Doug Evans , gdb-patches@sourceware.org Subject: Re: [PATCH] Remove duplicate code to init python objfile/progspace objects References: <21564.12176.289665.623122@ruffy2.mtv.corp.google.com> In-Reply-To: <21564.12176.289665.623122@ruffy2.mtv.corp.google.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00328.txt.bz2 On 13/10/14 21:01, Doug Evans wrote: > Doug Evans writes: > > Hi. > > > > This patch just removes some duplicate code. > > > > 2014-10-09 Doug Evans > > > > * py-objfile.c (objfpy_initialize): New function. > > (objfpy_new, objfile_to_objfile_object): Call it. > > * py-progspace.c (pspy_initialize): New function. > > (pspy_new, pspace_to_pspace_object): Call it. > > Committed. Doug, Thanks for doing this. Regards, Phil