diff options
author | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:44 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2015-03-24 14:05:44 +0000 |
commit | b2f7c7e8b7046bf3dd99e3fb7329feb962a6bc7d (patch) | |
tree | 7d66edb2d15fceef51bda35b5e0b6f4d7011fc6c /gdb/ChangeLog | |
parent | 6d4ee8c6ad7d5b04e524b2b48ffe5639028594a5 (diff) | |
download | gdb-b2f7c7e8b7046bf3dd99e3fb7329feb962a6bc7d.zip gdb-b2f7c7e8b7046bf3dd99e3fb7329feb962a6bc7d.tar.gz gdb-b2f7c7e8b7046bf3dd99e3fb7329feb962a6bc7d.tar.bz2 |
Make linux_stop_lwp be a shared function
Both GDB and gdbserver had linux_stop_lwp functions with identical
declarations. This commit moves these to nat/linux-nat.h to allow
shared code to use the function.
gdb/ChangeLog:
* linux-nat.h (linux_stop_lwp): Move declaration to...
* nat/linux-nat.h (linux_stop_lwp): New declaration.
gdb/gdbserver/ChangeLog:
* linux-low.h (linux_stop_lwp): Remove declaration.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fb5d1b4..d38e828 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-03-24 Gary Benson <gbenson@redhat.com> + * linux-nat.h (linux_stop_lwp): Move declaration to... + * nat/linux-nat.h (linux_stop_lwp): New declaration. + +2015-03-24 Gary Benson <gbenson@redhat.com> + * linux-nat.h: Include nat/linux-nat.h. (iterate_over_lwps): Move declaration to nat/linux-nat.h. * nat/linux-nat.h (struct lwp_info): New forward declaration. |