Updated some style and made changes to run_gdb_command.