This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Make the go32-nat.c target inherit inf-child.c.
- From: Pedro Alves <palves at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 07 Mar 2014 15:38:12 +0000
- Subject: Re: [PATCH 1/3] Make the go32-nat.c target inherit inf-child.c.
- Authentication-results: sourceware.org; auth=none
- References: <1394205292-19784-1-git-send-email-palves at redhat dot com> <1394205292-19784-2-git-send-email-palves at redhat dot com> <831tyeqb2i dot fsf at gnu dot org>
On 03/07/2014 03:32 PM, Eli Zaretskii wrote:
>> gdb/
>> 2014-03-07 Pedro Alves <palves@redhat.com>
>>
>> * go32-nat.c: Include inf-child.h.
>> (go32_ops): Delete global.
>> (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
>> Delete methods.
>> (go32_create_inferior): Push the passed in target pointer instead
>> of referencing go32_ops.
>> (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
>> (go32_target): New function, based on init_go32_ops, but inherit
>> inf_child_target.
>> (_initialize_go32_nat): Use go32_target. Move parts of
>> init_go32_ops here.
>
> This is OK, thanks.
Thanks, pushed.
--
Pedro Alves