simple loop to test gdb features.