diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-09-16 19:25:55 +0200 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-09-16 19:25:55 +0200 |
commit | 8193adea2f86e37423a5d0acffb69b80bde05d52 (patch) | |
tree | 372f81d7ddbee4104adb115242c231d486e02e52 /gdb/avr-tdep.c | |
parent | 0e00e962c57138f0dd8c261cbd6918782deec3c4 (diff) | |
download | gdb-8193adea2f86e37423a5d0acffb69b80bde05d52.zip gdb-8193adea2f86e37423a5d0acffb69b80bde05d52.tar.gz gdb-8193adea2f86e37423a5d0acffb69b80bde05d52.tar.bz2 |
S390: Hardware breakpoint support
Add hardware breakpoint support for S390 targets.
gdb/ChangeLog:
* s390-linux-nat.c (PER_BIT, PER_EVENT_BRANCH, PER_EVENT_IFETCH)
(PER_EVENT_STORE, PER_EVENT_NULLIFICATION)
(PER_CONTROL_BRANCH_ADDRESS, PER_CONTROL_SUSPENSION)
(PER_CONTROL_ALTERATION): New macros.
(struct s390_debug_reg_state) <break_areas>: New member.
(s390_forget_process): Free break_areas as well.
(s390_linux_new_fork): Copy break_areas as well.
(s390_prepare_to_resume): Install hardware breakpoints.
(s390_can_use_hw_breakpoint): Indicate support for hardware
breakpoints.
(s390_insert_hw_breakpoint, s390_remove_hw_breakpoint): New
linux_nat target methods.
(_initialize_s390_nat): Register them.
gdb/testsuite/ChangeLog:
* lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
Diffstat (limited to 'gdb/avr-tdep.c')
0 files changed, 0 insertions, 0 deletions