4 int32_t global
= 10; // Watchpoint variable declaration.
8 int main(int argc
, char** argv
) {
10 printf("&global=%p\n", &global
);
11 printf("about to write to 'global'...\n"); // Set break point at this line.
12 // When stopped, watch 'global' for write.
18 printf("local: %d\n", local
);
19 printf("global=%d\n", global
);
20 printf("gchar1='%c'\n", gchar1
);
21 printf("gchar2='%c'\n", gchar2
);