set 命令写代码段时可能会出现
cannot access memory at addres 0xXxxxxxxx
需要使用set write on命令
ftp://ftp.gnu.org/old-gnu/Manuals/gdb/html_chapter/gdb_13.html