xref: /llvm-project/lldb/test/Shell/Watchpoint/Inputs/watchpoint.in (revision 0dd62ace2ee2fafcb9a08953db1b9e4e20428e28)
1breakpoint set -p "Break here"
2r
3watchpoint set variable val
4watchpoint modify -c "val == 1"
5c
6# CHECK: Watchpoint 1 hit:
7# CHECK-NEXT: old value: 0
8# CHECK-NEXT: new value: 1
9# CHECK-NEXT: Process {{[0-9]+}} resuming
10# CHECK-NEXT: Process {{[0-9]+}} stopped
11# CHECK-NEXT: {{.*}} stop reason = watchpoint 1
12c
13# CHECK: Process {{[0-9]+}} exited with status = 0 (0x00000000)
14