The following tests fail:
FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=on: continue
FAIL: gdb.rocm/watchpoint-at-end-of-shader.exp: precise_memory=off: continue
The reason is a difference in outputs seen in upstream and downstream
branches. Fix the regexps to avoid the failures.
Approved-by: Lancelot Six <lancelot.six@amd.com> (amdgpu)
setup_xfail "*-*-*"
}
gdb_test "continue" \
- [multi_line "Switching to thread $::decimal, lane 0.*" \
+ [multi_line "Switching to \[^\r\n\]+(?=\r\n)" \
"" \
- "Thread $::decimal \".*\" hit Hardware watchpoint $::decimal: -location \\*v" \
+ "Thread $::decimal \[^\r\n\]*hit Hardware watchpoint $::decimal: -location \\*v" \
"" \
"Old value = 64" \
"New value = 8" \