aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2024-04-18 23:24:55 -0300
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2024-04-29 23:59:43 -0300
commit6b4b601b35a0aaf2b8b5db8e5793302736504171 (patch)
treefb1a9c716a4be942e3c476aebc2dff4f74692830 /bfd
parentc930a077225ec042287379d8e49b4d547f97d1ba (diff)
downloadgdb-6b4b601b35a0aaf2b8b5db8e5793302736504171.zip
gdb-6b4b601b35a0aaf2b8b5db8e5793302736504171.tar.gz
gdb-6b4b601b35a0aaf2b8b5db8e5793302736504171.tar.bz2
gdb/testsuite: Add gdb.base/memops-watchpoint.exp
Test behaviour of watchpoints triggered by libc's memset/memcpy/memmove. These functions are frequently optimized with specialized instructions that favor larger memory access operations, so make sure GDB behaves correctly in their presence. There's a separate watched variable for each function so that the testcase can test whether GDB correctly identified the watchpoint that triggered. Also, the watchpoint is 28 bytes away from the beginning of the buffer being modified, so that large memory accesses (if present) are exercised. PR testsuite/31484 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31484 Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions