This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 13/13 v2] Move duplicated Linux x86 code to nat/x86-linux.c
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 28 Oct 2014 13:01:41 +0000
- Subject: Re: [PATCH 13/13 v2] Move duplicated Linux x86 code to nat/x86-linux.c
- Authentication-results: sourceware.org; auth=none
- References: <1412848358-9958-1-git-send-email-gbenson at redhat dot com> <1412848358-9958-14-git-send-email-gbenson at redhat dot com>
On 10/09/2014 10:52 AM, Gary Benson wrote:
> This commit moves two identical functions from gdb/x86-linux-nat.c and
> gdb/gdbserver/linux-x86-low.c into the shared file gdb/nat/x86-linux.c.
>
> gdb/ChangeLog:
>
> * nat/x86-linux.h (x86_linux_new_thread): New declaration.
> (x86_linux_prepare_to_resume): Likewise.
> * x86-linux-nat.c (x86_linux_new_thread):
> Moved to nat/x86-linux.c.
> (x86_linux_prepare_to_resume): Likewise.
> * nat/x86-linux.c (x86_linux_new_thread): New function.
> (x86_linux_prepare_to_resume): Likewise.
>
> gdb/gdbserver/ChangeLog:
>
> * linux-x86-low.c (x86_linux_new_thread): Removed.
> (x86_linux_prepare_to_resume): Likewise.
OK.
Thanks,
Pedro Alves