added gdb run for finish