This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 13/13 v2] Move duplicated Linux x86 code to nat/x86-linux.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]