diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-09-16 19:25:54 +0200 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-09-16 19:25:54 +0200 |
commit | 9c2996c98278a95593afaa79db0dc00bb2aff189 (patch) | |
tree | 77ca3b3739cdd931515750cf410add2cdcbcffd7 /gdb/ChangeLog | |
parent | d41a5c096ec613f7df33d5d5ea4c0e512ac1e87a (diff) | |
download | fsf-binutils-gdb-9c2996c98278a95593afaa79db0dc00bb2aff189.zip fsf-binutils-gdb-9c2996c98278a95593afaa79db0dc00bb2aff189.tar.gz fsf-binutils-gdb-9c2996c98278a95593afaa79db0dc00bb2aff189.tar.bz2 |
S390: Avoid direct access to lwp_info structure
When using the lwp_info structure, avoid accessing its members directly,
and use the advertised function interfaces instead. This is according
to the instructions in linux-nat.h and prepares for making some of the
code common between gdb and gdbserver.
gdb/ChangeLog:
* s390-linux-nat.c (s390_prepare_to_resume): Use advertised lwp
functions instead of accessing lwp_info structure members.
(s390_mark_per_info_changed): New function.
(s390_new_thread): Use it.
(s390_refresh_per_info_cb): New function.
(s390_refresh_per_info): Remove parameter. Refresh all lwps of
the current process.
(s390_insert_watchpoint): Adjust call to s390_refresh_per_info.
(s390_remove_watchpoint): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b585914..5c6cebf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com> + + * s390-linux-nat.c (s390_prepare_to_resume): Use advertised lwp + functions instead of accessing lwp_info structure members. + (s390_mark_per_info_changed): New function. + (s390_new_thread): Use it. + (s390_refresh_per_info_cb): New function. + (s390_refresh_per_info): Remove parameter. Refresh all lwps of + the current process. + (s390_insert_watchpoint): Adjust call to s390_refresh_per_info. + (s390_remove_watchpoint): Likewise. + 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com> * elfread.c (auxv.h): New include. |