added a example of using gdb