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/disasm.c | |
parent | d41a5c096ec613f7df33d5d5ea4c0e512ac1e87a (diff) | |
download | binutils-9c2996c98278a95593afaa79db0dc00bb2aff189.zip binutils-9c2996c98278a95593afaa79db0dc00bb2aff189.tar.gz binutils-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/disasm.c')
0 files changed, 0 insertions, 0 deletions