$gdb --args ./A V1 V2 V3 $gdb ./A,进入gdb后 run V1 V2 V3 $gdb ./A,进入gdb后 设置参数set args V1 V2 V3 再直接 run。 参考: https://blog.csdn.net/guoqianqian5812/article/details/51755852?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-51755852-blog-52739089.235%5Ev39%5Epc_relevant_3m_sort_dl_base1&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-51755852-blog-52739089.235%5Ev39%5Epc_relevant_3m_sort_dl_base1&utm_relevant_index=2 https://blog.csdn.net/qq_39030233/article/details/129101057?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-129101057-blog-51755852.235^v39^pc_relevant_3m_sort_dl_base1&spm=1001.2101.3001.4242.1&utm_relevant_index=4
标签:relevant,distribute,应用程序,utm,blog,pc,gdb,调试 From: https://www.cnblogs.com/lh03061238/p/17901102.html