Commit first version: write gdb command file.

Commit first version: write gdb command file.