1 # REQUIRES: native && (system-linux || system-netbsd) && dbregs-set
2 # RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t
3 # RUN: %lldb -b -s %s %t | FileCheck %s
5 watchpoint set variable -w write g_val
6 # CHECK: Watchpoint created:
8 # CHECK-NOT: function run in parent
9 # CHECK: stop reason = watchpoint
11 # CHECK: function run in parent
12 # CHECK: function run in exec'd child