This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove duplicate code to init python objfile/progspace objects
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 13 Oct 2014 13:01:20 -0700
- Subject: Re: [PATCH] Remove duplicate code to init python objfile/progspace objects
- Authentication-results: sourceware.org; auth=none
- References: <yjt2a955qlvw dot fsf at ruffy dot mtv dot corp dot google dot com>
Doug Evans writes:
> Hi.
>
> This patch just removes some duplicate code.
>
> 2014-10-09 Doug Evans <dje@google.com>
>
> * 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.