add function of gdb input from file