GDB Common Commands GDB常用命令 记录工作中常用的GDB命令。 使用GDB调试能更方便地定位到问题所在,如segmentfault等。 调试bin文件 1 2 3 gdb bin set args a b c run 调试coredump文件 1 gdb bin core_file Ref [1] 100-gdb-tips