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 | 17c84ccaf042dfb7dd81e4670b74768fe5a96017 (patch) | |
tree | 268c19c9e07a5df4732a59e2d3f88552d1de9e26 /gdb/tramp-frame.c | |
parent | 9c2996c98278a95593afaa79db0dc00bb2aff189 (diff) | |
download | gdb-17c84ccaf042dfb7dd81e4670b74768fe5a96017.zip gdb-17c84ccaf042dfb7dd81e4670b74768fe5a96017.tar.gz gdb-17c84ccaf042dfb7dd81e4670b74768fe5a96017.tar.bz2 |
S390: Migrate watch areas from list to VEC type
For S390, the list of active watchpoints is maintained in a list based
at "watch_base". This refactors the list to a vector "watch_areas".
gdb/ChangeLog:
* s390-linux-nat.c (s390_watch_area): New typedef. Define a VEC.
(watch_base): Remove variable.
(watch_areas): New variable.
(s390_stopped_by_watchpoint): Transform operations on the
watch_base list to equivalent operations on the watch_areas VEC.
(s390_prepare_to_resume): Likewise.
(s390_insert_watchpoint): Likewise.
(s390_remove_watchpoint): Likewise.
Diffstat (limited to 'gdb/tramp-frame.c')
0 files changed, 0 insertions, 0 deletions