diff options
author | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:45 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:45 +0000 |
commit | 369f6daa21bf33a09ef67b002e4cec3595eddfe7 (patch) | |
tree | 4da77bcb79beb7c74b77ef6666006ee89b870ffa /gdb/ChangeLog | |
parent | 8e5d40700492597d103ebdb68eab733456b66fad (diff) | |
download | gdb-369f6daa21bf33a09ef67b002e4cec3595eddfe7.zip gdb-369f6daa21bf33a09ef67b002e4cec3595eddfe7.tar.gz gdb-369f6daa21bf33a09ef67b002e4cec3595eddfe7.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7dcec1f..62a8a44 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2015-03-24 Gary Benson <gbenson@redhat.com> + * 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. + +2015-03-24 Gary Benson <gbenson@redhat.com> + * nat/x86-linux-dregs.h: New file. * nat/x86-linux-dregs.c: Likewise. * Makefile.in (HFILES_NO_SRCDIR): Add nat/x86-linux-dregs.h. |