Update write gdb command file

Update write gdb command file.