[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / watchpoints / watchpoint_commands / main.c
blob6a3036d3ce9792e023ad04d70cf092b92550339f
1 #include <stdio.h>
2 #include <stdint.h>
4 int32_t global = 10; // Watchpoint variable declaration.
6 int main(int argc, char** argv) {
7 int local = 0;
8 printf("&global=%p\n", &global);
9 printf("about to write to 'global'...\n"); // Set break point at this line.
10 // When stopped, watch 'global'.
11 global = 20;
12 local += argc;
13 ++local; // Set 2nd break point for disable_then_enable test case.
14 printf("local: %d\n", local);
15 printf("global=%d\n", global);