# 保存历史命令
set history filename ~/.gdb_history
set history save on
# 退出时不显示提示信息
set confirm off
# 按照派生类型打印对象
set print object on
# 打印数组的索引下标
set print array-indexes on
# 每行打印一个结构体成员
set print pretty on
# layout
layout asm
layout regs
tui reg general
set args submission.txt
b func4
b *0x08048c9c
b *0x08048c9d
b *0x08048caf
b *0x08048ca0
b *0x08048ca7
b *0x08048cb0
b *0x08048cb9