如何在 Cygwin 中安装调试器并使用 gdb 调试 C 程序?
How to install debugger in Cygwin and use gdb for debugging C programs?
我有 Cygwin,想调试 C 程序。 gdb 命令给出 'command not found' 错误信息。如何让 gdb 命令起作用?
在安装 Cygwin 的过程中我还需要安装其他东西吗?
Cygwin 终端出错:
-bash: gdb: 找不到命令
安装 Cygwin (https://cygwin.com/) 时,您必须 select gdb 和 gdb-debuginfo 包 进行安装。在 [https://cygwin.com/packages/summary/gdb-src.html]
查看 gdb 所需的安装包
见下文:
我有 Cygwin,想调试 C 程序。 gdb 命令给出 'command not found' 错误信息。如何让 gdb 命令起作用?
在安装 Cygwin 的过程中我还需要安装其他东西吗?
Cygwin 终端出错: -bash: gdb: 找不到命令
安装 Cygwin (https://cygwin.com/) 时,您必须 select gdb 和 gdb-debuginfo 包 进行安装。在 [https://cygwin.com/packages/summary/gdb-src.html]
查看 gdb 所需的安装包见下文: