Can anyone explain this behavior of gdb?
900 memset(&new_ckpt_info,\'\\0\',sizeof(CKPT_INFO)); (gdb) **903 prev_offset = cp_node->of
Declare found as "volatile". This should tell the compiler to NOT optimize it out.
volatile int found = 0;