Assume g1 is a global variable in a given C program.
int g1 = 0;
I have set a watchpoint using gdb to know the number of memory accesses. When I i