PowerPC remove 512 bytes region limit if 2nd DAWR is avaliable.
authorRogerio Alves <rcardoso@linux.ibm.com>
Tue, 1 Dec 2020 19:53:38 +0000 (16:53 -0300)
committerRogerio Alves <rcardoso@linux.ibm.com>
Tue, 1 Dec 2020 19:53:38 +0000 (16:53 -0300)
commit539d71e89a21990d9fd15641477e4790129bdb11
treee9b6b57d0132c057ecfdc9346c13ac3c61122371
parent0ae45769809bc2d571c3c75cec27c76ec4c1bfc3
PowerPC remove 512 bytes region limit if 2nd DAWR is avaliable.

Power 10 introduces the 2nd DAWR (second watchpoint) and also removed
a restriction that limit the watch region to 512 bytes.

2020-11-08  Rogerio A. Cardoso  <rcardoso@linux.ibm.com>

/gdb

* ppc-linux-nat.c: (PPC_DEBUG_FEATURE_DATA_BP_ARCH_31): New define.
(region_ok_for_hw_watchpoint): Check if 2nd DAWR is avaliable before
set region.
gdb/ChangeLog
gdb/ppc-linux-nat.c