diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-04-10 16:23:13 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-04-10 16:23:13 +0100 |
commit | de3db44c87a30c67deb38fa9d43d2db3bc98c161 (patch) | |
tree | 0456bb916ae2ee92a9ffd4afe58c28baddaff4a2 /ld/testsuite/ld-i386 | |
parent | cb71640d030500888726d54a310c434a4d23b7b3 (diff) | |
download | gdb-de3db44c87a30c67deb38fa9d43d2db3bc98c161.zip gdb-de3db44c87a30c67deb38fa9d43d2db3bc98c161.tar.gz gdb-de3db44c87a30c67deb38fa9d43d2db3bc98c161.tar.bz2 |
[arm] watchpoint-reuse-slot.exp: skip setting HW points on some address
Hi,
ARM linux kernel has some requirements on the address/length setting
for HW breakpoints/watchpoints, but watchpoint-reuse-slot.exp doesn't
consider them and sets HW points on various addresses. Many fails
are causes as a result:
stepi^M
Warning:^M
Could not insert hardware watchpoint 20.^M
Could not insert hardware breakpoints:^M
You may have requested too many hardware breakpoints/watchpoints.^M
^M
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted off: watch x watch: : width 2, iter 2: base + 1: stepi advanced
watch *(buf.byte + 2 + 1)@2^M
Hardware watchpoint 388: *(buf.byte + 2 + 1)@2^M
Warning:^M
Could not insert hardware watchpoint 388.^M
Could not insert hardware breakpoints:^M
You may have requested too many hardware breakpoints/watchpoints.^M
^M
(gdb) FAIL: gdb.base/watchpoint-reuse-slot.exp: always-inserted on: watch x watch: : width 2, iter 2: base + 1: watch *(buf.byte + 2 + 1)@2
This patch is to reflect kernel requirements in watchpoint-reuse-slot.exp
in order to skip some tests.
gdb/testsuite:
2015-04-10 Yao Qi <yao.qi@linaro.org>
* gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
false for some offset and width combinations which aren't
supported by linux kernel.
Diffstat (limited to 'ld/testsuite/ld-i386')
0 files changed, 0 insertions, 0 deletions