This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Move duplicated Linux x86 code to nat/x86-linux.c
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Wed, 25 Mar 2015 07:05:45 -0400
- Subject: [binutils-gdb] Move duplicated Linux x86 code to nat/x86-linux.c
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 369f6daa21bf33a09ef67b002e4cec3595eddfe7 ***
Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: 369f6daa21bf33a09ef67b002e4cec3595eddfe7
Move duplicated Linux x86 code to nat/x86-linux.c
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): Moved to
nat/x86-linux.c.
(x86_linux_prepare_to_resume): Likewise.