diff options
author | Tom de Vries <tdevries@suse.de> | 2025-08-12 16:35:05 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-08-12 16:35:05 +0200 |
commit | d737aae03b9e09e848260fc31c5b8b66de4a7a77 (patch) | |
tree | e072a4b6bb82d9b148f445736e37bb25f9039d52 /gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc | |
parent | 89495c33260b3f637acb8f79181cc6db08771f90 (diff) | |
download | binutils-d737aae03b9e09e848260fc31c5b8b66de4a7a77.zip binutils-d737aae03b9e09e848260fc31c5b8b66de4a7a77.tar.gz binutils-d737aae03b9e09e848260fc31c5b8b66de4a7a77.tar.bz2 |
[gdb/testsuite] Improve gdb.base/watchpoint-unaligned.exp
Improve the part of gdb.base/watchpoint-unaligned.exp handling
write_size8twice:
- move the code into a proc
- use -wrap
- use $decimal more often
- don't use gdb_test_multiple $test $test
- add comments
- start test when entering write_size8twice function, instead of main
- finish test when leaving write_size8twice function, instead of main
- add insn in between:
- insn triggering watchpoint, and
- insn triggering breakpoint
to ensure that the watchpoint triggers before the breakpoint, and
add a comment explaining this.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc')
0 files changed, 0 insertions, 0 deletions